You are here

function Notifications_Event::user_access in Notifications 6.4

Same name and namespace in other branches
  1. 7 notifications.event.inc \Notifications_Event::user_access()

Check user access to event's objects

Replaces notifications_event_user_access($event, $account);

File

includes/notifications_event.class.inc, line 300
Drupal Notifications Framework - Default class file

Class

Notifications_Event
Message destination class

Code

function user_access($account) {
  if (!isset($this->_access[$account->uid])) {
    $this->_access[$account->uid] = notifications_user_allowed('event', $account, $this);
  }
  return $this->_access[$account->uid];
}