You are here

admin_menu.install in Administration menu 5.2

File

admin_menu.install
View source
<?php

/**
 * Implementation of hook_uninstall().
 */
function admin_menu_uninstall() {

  // Delete variables.
  variable_del('admin_menu_devel_modules_enabled');
  variable_del('admin_menu_margin_top');
  variable_del('admin_menu_position_fixed');
  variable_del('admin_menu_tweak_menu');
  variable_del('admin_menu_tweak_modules');
  variable_del('admin_menu_tweak_tabs');
}

/**
 * #224605: Rebuild cached menu for users.
 */
function admin_menu_update_5202() {
  $ret = array();

  // Clear CSS preprocessor cache.
  drupal_clear_css_cache();

  // Clear cache_menu.
  cache_clear_all(NULL, 'cache_menu');
  return $ret;
}

Functions

Namesort descending Description
admin_menu_uninstall Implementation of hook_uninstall().
admin_menu_update_5202 #224605: Rebuild cached menu for users.