You are here

function admin_menu_clear_cache in Administration menu 5.2

Same name and namespace in other branches
  1. 5.3 admin_menu.module \admin_menu_clear_cache()

Clear the cached admin menu tree.

1 call to admin_menu_clear_cache()
admin_menu_panels_cache in ./admin_menu.module
Implementation of hook_panels_cache().

File

./admin_menu.module, line 495
Renders a menu tree for administrative purposes as dropdown menu at the top of the window.

Code

function admin_menu_clear_cache() {

  // cache_clear_all() does not support a leading wildcard.
  db_query("DELETE FROM {cache_menu} WHERE cid LIKE '%%:admin_menu'");
}