From 9992412aff7727f8d03f2e66c738a2ba994a8904 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 31 Oct 2008 07:07:26 +0000 Subject: [PATCH] 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 --- gosa-core/include/class_userinfo.inc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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'); -- 2.30.2