You are here

function admin_content_notification_node_update in Admin Content Notification 7.2

Same name and namespace in other branches
  1. 8.3 admin_content_notification.module \admin_content_notification_node_update()
  2. 8 admin_content_notification.module \admin_content_notification_node_update()
  3. 8.2 admin_content_notification.module \admin_content_notification_node_update()

Implements hook_node_update().

File

./admin_content_notification.module, line 48
Module admin_content_notification file.

Code

function admin_content_notification_node_update($node) {
  if (variable_get('admin_content_notification_trigger_on_node_update', FALSE) && admin_content_notification_is_current_user_role_allowed_to_send_notification()) {
    admin_content_notification_send_email($node);
  }
}