You are here

function admin_menu_update_6001 in Administration menu 6.3

Same name and namespace in other branches
  1. 6 admin_menu.install \admin_menu_update_6001()
  2. 7.3 admin_menu.install \admin_menu_update_6001()

Wipe and rebuild so we can switch the icon path to <front>.

File

./admin_menu.install, line 83
Install, update, and uninstall functions for the admin menu module.

Code

function admin_menu_update_6001() {
  $ret = array();
  $ret[] = update_sql("DELETE FROM {menu_links} WHERE module = 'admin_menu'");
  $ret[] = array(
    'success' => TRUE,
    'query' => 'Administration menu links deleted for clean rebuild.',
  );
  menu_cache_clear('admin_menu');
  return $ret;
}