You are here

function Notifications_Subscription::check_access in Notifications 7

Same name and namespace in other branches
  1. 6.4 includes/notifications_subscription.class.inc \Notifications_Subscription::check_access()

Check permission for user account

File

./notifications.subscription.inc, line 1102
Drupal Notifications Framework - Default class file

Class

Notifications_Subscription
Common base for subscription type and subscription instance

Code

function check_access($account = NULL) {
  $account = $account ? $account : $this
    ->get_account();

  // @todo check access to all subscription fields
  return TRUE;
}