You are here

function menu_attributes_update_1 in Menu Attributes 7

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

Update the module weight.

File

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

Code

function menu_attributes_update_1() {
  db_update('system')
    ->fields(array(
    'weight' => 10,
  ))
    ->condition('type', 'module')
    ->condition('name', 'menu_attributes')
    ->execute();
}