You are here

function siteimprove_node_update in Siteimprove 7

Implements hook_node_update().

File

./siteimprove.module, line 87
Drupal Module: Siteimprove Plugin.

Code

function siteimprove_node_update($node) {
  if ($node->status == 1 && user_access(SITEIMPROVE_PERMISSION_USE)) {
    SiteimproveUtils::setSessionUrl($node, 'nid', 'node/');
  }
}