You are here

function subscriptions_content_suppress_notifications in Subscriptions 6

Same name and namespace in other branches
  1. 7 subscriptions_content.module \subscriptions_content_suppress_notifications()
  2. 2.0.x subscriptions_content/subscriptions_content.module \subscriptions_content_suppress_notifications()

Provide a static flag to suppress notifications.

2 calls to subscriptions_content_suppress_notifications()
subscriptions_content_nodeapi in ./subscriptions_content.module
Implementation of hook_nodeapi().
subscriptions_content_node_admin_nodes_submit in ./subscriptions_content.module
Handle bulk publishing.

File

./subscriptions_content.module, line 560
Subscriptions to content events

Code

function subscriptions_content_suppress_notifications($set = NULL) {
  static $suppress_notifications = FALSE;

  // not drupal_static!
  if ($set !== NULL) {
    $suppress_notifications = $set;
  }
  return $suppress_notifications;
}