only in patch2: unchanged: --- a/admin_menu.install +++ b/admin_menu.install @@ -6,15 +6,6 @@ */ /** - * Implements hook_schema(). - */ -function admin_menu_schema() { - $schema['cache_admin_menu'] = drupal_get_schema_unprocessed('system', 'cache'); - $schema['cache_admin_menu']['description'] = 'Cache table for Administration menu to store client-side caching hashes.'; - return $schema; -} - -/** * Implements hook_install(). */ function admin_menu_install() { @@ -41,24 +32,3 @@ function admin_menu_uninstall() { variable_del('admin_menu_cache_server'); variable_del('admin_menu_cache_client'); } - -/** - * Add {cache_admin_menu} table. - */ -function admin_menu_update_7300() { - if (!db_table_exists('cache_admin_menu')) { - $schema = drupal_get_schema_unprocessed('system', 'cache'); - db_create_table('cache_admin_menu', $schema); - } -} - -/** - * Remove local tasks from {menu_links} table. - */ -function admin_menu_update_7303() { - db_delete('menu_router') - ->condition('path', 'admin/%', 'LIKE') - ->condition('type', MENU_IS_LOCAL_TASK, '&') - ->execute(); -} -