diff --git a/menu_token.install b/menu_token.install index 7a14ef1..673ee04 100644 --- a/menu_token.install +++ b/menu_token.install @@ -131,6 +131,29 @@ function menu_token_update_7003() { } /** + * Implements hook_update_N(). + * Update Weight to 10 + */ +function menu_token_update_7004() { + db_update('system') + ->fields(array('weight' => 10)) + ->condition('type', 'module', '=') + ->condition('name', 'menu_token', '=') + ->execute(); +} + +/** + * Implements hook_install(). + */ +function menu_token_install() { + db_update('system') + ->fields(array('weight' => 10)) + ->condition('type', 'module', '=') + ->condition('name', 'menu_token', '=') + ->execute(); +} + +/** * Implements hook_uninstall(). */ function menu_token_uninstall() {