function devel_update_2 in Devel 6
Same name and namespace in other branches
- 5 devel.install \devel_update_2()
Do update 1 again as the hook_install() was missing and new installations are not having the weight set.
File
- ./
devel.install, line 122 - Install file for devel module.
Code
function devel_update_2() {
// New module weights in core: put devel as the very last in the chain.
$ret = array();
$ret[] = update_sql('UPDATE {system} SET weight = 10 WHERE name = "devel"');
return $ret;
}