You are here

function activity_batch_access in Activity 7

Same name and namespace in other branches
  1. 6.2 activity.module \activity_batch_access()

Access callback for batch access

Parameters

$action: The action row from {actions} table.

$token: Token used for security protection.

1 string reference to 'activity_batch_access'
activity_menu in ./activity.module
Implements hook_menu().

File

./activity.module, line 194
Records Activity across the site and surfaces that to Views.

Code

function activity_batch_access($action, $token) {
  return user_access('administer activity') && drupal_valid_token($token, $action->actions_id);
}