You are here

function protected_node_update_4 in Protected Node 6

Same name and namespace in other branches
  1. 5 protected_node.install \protected_node_update_4()

Implementation of hook_update-N()

Altering node weight from 100 to 80 fixing issue #296685

File

./protected_node.install, line 188

Code

function protected_node_update_4() {
  $ret = array();
  $ret[] = update_sql("UPDATE {system} SET weight = 80 WHERE name = 'protected_node' AND type = 'module'");
  return $ret;
}