aboutsummaryrefslogtreecommitdiff
path: root/actions/user/default_access.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-30 04:32:04 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-30 04:32:04 +0000
commita2b3db924719b111c7c01812fe3470fbbd1ae7cc (patch)
tree3d4d96a3b91361b177553f9af506ec7f17c14b6b /actions/user/default_access.php
parent010bc9650139814f2c74a24b6e320c5c4373e5c4 (diff)
downloadelgg-a2b3db924719b111c7c01812fe3470fbbd1ae7cc.tar.gz
elgg-a2b3db924719b111c7c01812fe3470fbbd1ae7cc.tar.bz2
Refs #2428 removed more CONFIG uses
git-svn-id: http://code.elgg.org/elgg/trunk@7769 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'actions/user/default_access.php')
-rw-r--r--actions/user/default_access.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/actions/user/default_access.php b/actions/user/default_access.php
index 0c2390842..0b7d0bfbd 100644
--- a/actions/user/default_access.php
+++ b/actions/user/default_access.php
@@ -6,9 +6,7 @@
* @subpackage Core
*/
-global $CONFIG;
-
-if ($CONFIG->allow_user_default_access) {
+if (elgg_get_config('allow_user_default_access')) {
$default_access = get_input('default_access');
$user_id = get_input('guid');