function badbehavior_update_6200 in Bad Behavior 6.2
Reset module weight for earliest possible loading position.
Implements hook_update_N().
File
- ./
badbehavior.install, line 167 - Install, update and uninstall functions for the Bad Behavior module.
Code
function badbehavior_update_6200() {
$retfun = array();
$retfun[] = update_sql("UPDATE {system} SET weight = -999 WHERE type = 'module' AND name = 'badbehavior'");
return $retfun;
}