You are here

function ape_rules_access in Advanced Page Expiration 7

Determines whether a user may administer ape.

Required for rules integration.

1 string reference to 'ape_rules_access'
ape_rules_action_info in ./ape.rules.inc
Implements hook_rules_action_info().

File

./ape.module, line 57
Allows finer control of the Cache Control header.

Code

function ape_rules_access($type, $name) {
  return user_access('administer ape');
}