From a2b3db924719b111c7c01812fe3470fbbd1ae7cc Mon Sep 17 00:00:00 2001 From: cash Date: Thu, 30 Dec 2010 04:32:04 +0000 Subject: Refs #2428 removed more CONFIG uses git-svn-id: http://code.elgg.org/elgg/trunk@7769 36083f99-b078-4883-b0ff-0f9b5a30f544 --- actions/user/default_access.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'actions/user/default_access.php') 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'); -- cgit v1.2.3