function protected_node_update_4 in Protected Node 5
Same name and namespace in other branches
- 6 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 107
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;
}