diff options
Diffstat (limited to 'actions/user')
-rw-r--r-- | actions/user/default_access.php | 4 |
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'); |