You are here

function Notifications_Subscription::check_access in Notifications 6.4

Same name and namespace in other branches
  1. 7 notifications.subscription.inc \Notifications_Subscription::check_access()

Check permission for user account

File

includes/notifications_subscription.class.inc, line 368
Drupal Notifications Framework - Default class file

Class

Notifications_Subscription
Message destination class

Code

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