From: hickert Date: Thu, 27 Sep 2007 11:19:27 +0000 (+0000) Subject: Reset ACL cache if acls has changed X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=79fa071e4e087fd5e585296950da214c20aa220c;p=gosa.git Reset ACL cache if acls has changed git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7424 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/class_userinfo.inc b/include/class_userinfo.inc index 9b68abc54..2c46e9efc 100644 --- a/include/class_userinfo.inc +++ b/include/class_userinfo.inc @@ -67,14 +67,22 @@ class userinfo /* Initialize ACL_CACHE */ $_SESSION['ACL_CACHE']= array(); + $this->reset_acl_cache(); } + public function reset_acl_cache() + { + /* Initialize ACL_CACHE */ + $_SESSION['ACL_CACHE']= array(); + } + function loadACL() { $this->ACL= array(); $this->groups= array(); $this->result_cache =array(); + $this->reset_acl_cache(); $ldap= $this->config->get_ldap_link(); $ldap->cd($this->config->current['BASE']);