You are here

function devel_update_2 in Devel 5

Same name and namespace in other branches
  1. 6 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 66

Code

function devel_update_2() {

  // New module weights in core: put devel as the very last in the chain.
  $ret[] = update_sql("UPDATE {system} SET weight = 10 WHERE name = 'devel'");
  return $ret;
}