Code

Removed performance update, it doesn't work with user-filter.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 31 Oct 2008 07:07:26 +0000 (07:07 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 31 Oct 2008 07:07:26 +0000 (07:07 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12837 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_userinfo.inc

index 94337ae6f1b94e19e4af9e0e3f32a3550cfd655a..7e2023a27ae2f2264f4aca0038d534f0ad5d4fad 100644 (file)
@@ -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');