function masquerade_update_6004 in Masquerade 6
Same name and namespace in other branches
- 7 masquerade.install \masquerade_update_6004()
Set the weight of the masquerade module to -10, but only if it hasn't previously been changed.
File
- ./
masquerade.install, line 148 - masquerade.install
Code
function masquerade_update_6004() {
$ret = array();
$ret[] = update_sql("UPDATE {system} SET weight = -10 WHERE name = 'masquerade' AND weight = 0");
return $ret;
}