You are here

function menu_attributes_update_1 in Menu Attributes 6

Same name and namespace in other branches
  1. 6.2 menu_attributes.install \menu_attributes_update_1()
  2. 7 menu_attributes.install \menu_attributes_update_1()

Update the module weight.

File

./menu_attributes.install, line 30
Install, update and uninstall functions for the menu_attributes module.

Code

function menu_attributes_update_1() {
  $ret = array();
  db_query("UPDATE {system} SET weight = 10 WHERE type = 'module' AND name = 'menu_attributes'");
  return $ret;
}