diff options
Diffstat (limited to 'modules/shortcut')
-rw-r--r-- | modules/shortcut/shortcut.install | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/modules/shortcut/shortcut.install b/modules/shortcut/shortcut.install index 634ee51fb..5c49322ee 100644 --- a/modules/shortcut/shortcut.install +++ b/modules/shortcut/shortcut.install @@ -7,14 +7,9 @@ */ /** - * Implements hook_enable(). + * Implements hook_install(). */ -function shortcut_enable() { - if (shortcut_set_load(SHORTCUT_DEFAULT_SET_NAME)) { - // Quit out; this module has already been installed before. - return; - } - +function shortcut_install() { $t = get_t(); // Create an initial default shortcut set. $shortcut_set = new StdClass(); |