function shortcut_uninstall
shortcut_uninstall()
Implements hook_uninstall().
File
- modules/shortcut/shortcut.install, line 41
- Install, update and uninstall functions for the shortcut module.
Code
function shortcut_uninstall() { drupal_load('module', 'shortcut'); // Delete the menu links associated with each shortcut set. foreach (shortcut_sets() as $shortcut_set) { menu_delete_links($shortcut_set->set_name); } }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!shortcut!shortcut.install/function/shortcut_uninstall/7.x