/** * Pass-thru function for ACL grant instance. An alias for AclComponent::deny() * * @param string $aro ARO The requesting object identifier. * @param string $aco ACO The controlled object identifier. * @param string $action Action (defaults to *) * @return boolean Success * @access public */ function revoke($aro, $aco, $action = "*") { $this->flushCache(); return parent::revoke($aro, $aco, $action); }
/** * Revoke method. * * This method overrides and uses the original * method. It only adds cache to it. * * @param string $aro ARO * @param string $aco ACO * @param string $action Action (defaults to *) * @access public */ function revoke($aro, $aco, $action = "*") { parent::revoke($aro, $aco, $action); $this->__deleteCache($aro, $aco, $action); }