You are here

function rules_link_rules_link_update in Rules Link 7

Same name and namespace in other branches
  1. 7.2 rules_link.module \rules_link_rules_link_update()

Implements hook_rules_link_update().

File

./rules_link.module, line 260
Rules Link - module file.

Code

function rules_link_rules_link_update($link) {

  // Make sure to only issue menu rebuilds if necessary.
  // @see rules_link_rules_link_insert()
  if (!empty($link->original) && ($link->path != $link->original->path || $link->settings['link_type'] != $link->original->settings['link_type'])) {
    variable_set('menu_rebuild_needed', TRUE);
  }
}