diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-02-26 18:31:29 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-02-26 18:31:29 +0000 |
commit | f6b166ff23faa3ab8a2f643394842710dbecfd3d (patch) | |
tree | 871c742fb8e120901ec941b9062109df36d9c593 /modules/shortcut | |
parent | bc70eaeb8ddd78022ea6831ccb2e49b9cb653069 (diff) | |
download | brdo-f6b166ff23faa3ab8a2f643394842710dbecfd3d.tar.gz brdo-f6b166ff23faa3ab8a2f643394842710dbecfd3d.tar.bz2 |
- Patch #620298 by David_Rothstein: schema not available in hook_install().
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(); |