From 79fa071e4e087fd5e585296950da214c20aa220c Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 27 Sep 2007 11:19:27 +0000 Subject: [PATCH] Reset ACL cache if acls has changed git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7424 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/class_userinfo.inc | 8 ++++++++ 1 file changed, 8 insertions(+) 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']); -- 2.30.2