/** * function clearSessionCache() * clears the session variable storing the cache information for acls * */ public function clearACLCache() { self::$acl_map = null; self::$acls = array(); sugar_cache_clear("ACL"); unset($_SESSION['ACL']); }