You are here

function admin_menu_update_6000 in Administration menu 6.3

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

Ensure that admin_menu is rebuilt after upgrading to D6.

File

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

Code

function admin_menu_update_6000() {
  $ret = array();

  // Drop the {admin_menu} table in admin_menu_update_6000() on sites that used
  // one of the later patches in #132524.
  if (db_table_exists('admin_menu')) {
    db_drop_table($ret, 'admin_menu');
  }
  return $ret;
}