You are here

function admin_menu_wipe in Administration menu 6

Wipe the menu so it can be rebuilt from scratch.

2 calls to admin_menu_wipe()
admin_menu_flush_cache in ./admin_menu.inc
Flush all caches or a specific one.
admin_menu_update_6001 in ./admin_menu.install
Wipe and rebuild so we can switch the icon path to <front>.
1 string reference to 'admin_menu_wipe'
admin_menu_theme_settings in ./admin_menu.inc
Form builder function for module settings.

File

./admin_menu.inc, line 424

Code

function admin_menu_wipe() {
  db_query("DELETE FROM {menu_links} WHERE menu_name = 'admin_menu'");
  menu_cache_clear('admin_menu');
  menu_rebuild();
}