From 11f03531585cccac387161ba88f54a28bad5624b Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Fri, 29 Jun 2012 15:20:20 +0200 Subject: removed another occurance of the obsolete config option --- inc/auth.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'inc') diff --git a/inc/auth.php b/inc/auth.php index 1263f7aec..fbdb2b439 100644 --- a/inc/auth.php +++ b/inc/auth.php @@ -123,7 +123,6 @@ function auth_setup() { */ function auth_loadACL() { global $config_cascade; - global $conf; global $USERINFO; if(!is_readable($config_cascade['acl']['default'])) return array(); @@ -131,7 +130,7 @@ function auth_loadACL() { $acl = file($config_cascade['acl']['default']); //support user wildcard - if(isset($_SERVER['REMOTE_USER']) && $conf['use_wildcards']){ + if(isset($_SERVER['REMOTE_USER'])){ $len = count($acl); for($i = 0; $i < $len; $i++) { if($acl[$i]{0} == '#') continue; -- cgit v1.2.3