Пример #1
0
 /**
  * Reset ACL cache
  * To be used when
  * @param string $module If empty, all ACL module caches are reset
  */
 public static function resetACLs($module = null)
 {
     if ($module) {
         unset(self::$acls[$module]);
     } else {
         self::$acls = array();
     }
 }