summaryrefslogtreecommitdiff
path: root/modules/shortcut
diff options
context:
space:
mode:
authorwebchick <webchick@24967.no-reply.drupal.org>2011-06-15 02:28:22 -0400
committerwebchick <webchick@24967.no-reply.drupal.org>2011-06-15 02:28:22 -0400
commite3de4550acb794e7b3589576d1e734bc4e05b8af (patch)
tree8e68527fc9d3c8223348d328048bf92fd6e49a01 /modules/shortcut
parenteeec65a2fca8524f34a955b429cab1a4d1fd8397 (diff)
downloadbrdo-e3de4550acb794e7b3589576d1e734bc4e05b8af.tar.gz
brdo-e3de4550acb794e7b3589576d1e734bc4e05b8af.tar.bz2
Issue #1029606 follow-up by catch, David_Rothstein: Fixed Regression: Not loading the .module file causes a fatal error when uninstalling some modules (as does loading it).
Diffstat (limited to 'modules/shortcut')
-rw-r--r--modules/shortcut/shortcut.install1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/shortcut/shortcut.install b/modules/shortcut/shortcut.install
index 209a90754..9dbab806d 100644
--- a/modules/shortcut/shortcut.install
+++ b/modules/shortcut/shortcut.install
@@ -32,6 +32,7 @@ function shortcut_install() {
* Implements hook_uninstall().
*/
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);