aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--finder_menu.module16
1 files changed, 8 insertions, 8 deletions
diff --git a/finder_menu.module b/finder_menu.module
index 5e9b627..651c45f 100644
--- a/finder_menu.module
+++ b/finder_menu.module
@@ -8,7 +8,14 @@
*/
/**
- * Implementation of hook_init().
+ * Implementation of hook_uninstall();
+ */
+function finder_menu_uninstall() {
+ variable_del('finder_menu');
+}
+
+/**
+ * Implementation of hook_init();
*/
function finder_menu_init() {
drupal_add_css(drupal_get_path('module', 'finder_menu') .'/finder_menu.css');
@@ -178,10 +185,3 @@ function finder_menu_has_unhidden_submenu($menu = FALSE) {
return FALSE;
}
-
-/**
- * Implementation of hook_uninstall();
- */
-function finder_menu_uninstall() {
- variable_del('finder_menu');
-}