You are here

function notifications_anonymous_notifications_subscription in Notifications 6.4

Implementation of hook_notifications_subscription()

File

notifications_anonymous/notifications_anonymous.module, line 273
Notifications for anonymous users

Code

function notifications_anonymous_notifications_subscription($op, $subscription = NULL, $account = NULL) {
  global $user;
  switch ($op) {
    case 'access':
      if (!$user->uid) {
        return notifications_anonymous_flood_control();
      }
      break;
  }
}