From: hickert Date: Fri, 31 Oct 2008 07:07:26 +0000 (+0000) Subject: Removed performance update, it doesn't work with user-filter. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9992412aff7727f8d03f2e66c738a2ba994a8904;p=gosa.git Removed performance update, it doesn't work with user-filter. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12837 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_userinfo.inc b/gosa-core/include/class_userinfo.inc index 94337ae6f..7e2023a27 100644 --- a/gosa-core/include/class_userinfo.inc +++ b/gosa-core/include/class_userinfo.inc @@ -191,9 +191,9 @@ class userinfo /* Ensure that we only cache relevant ACL settings */ - while(!isset($this->ACL[$dn]) && preg_match("/,/",$dn)){ - $dn = preg_replace("/^[^,]*+,/","",$dn); - } +# while(!isset($this->ACL[$dn]) && preg_match("/,/",$dn)){ +# $dn = preg_replace("/^[^,]*+,/","",$dn); +# } $ACL_CACHE = &session::get("ACL_CACHE"); $id = $dn."+".$category."+".$any_acl; @@ -309,9 +309,9 @@ class userinfo /* Ensure that we only cache relevant ACL settings */ - while(!isset($this->ACL[$dn]) && preg_match("/,/",$dn)){ - $dn = preg_replace("/^[^,]+,/","",$dn); - } +# while(!isset($this->ACL[$dn]) && preg_match("/,/",$dn)){ +# $dn = preg_replace("/^[^,]+,/","",$dn); +# } /* Push cache answer? */ $ACL_CACHE = &session::get('ACL_CACHE');