Browse Source

Small fix for I changed (fixed) the name of a variable.

Alexis Wilke 15 years ago
parent
commit
d5ce155335
1 changed files with 10 additions and 0 deletions
  1. 10 0
      simplemenu.install

+ 10 - 0
simplemenu.install

@@ -20,4 +20,14 @@ function simplemenu_update_6001() {
   return array();
 }
 
+/**
+ * Implementation of hook_update_N().
+ */
+function simplemenu_update_6002() {
+  // fix variable name
+  variable_set('simplemenu_detect_popup', variable_get('simplemenu_detect_popop', 1));
+  variable_del('simplemenu_detect_popop');
+  return array();
+}
+
 // vim: ts=2 sw=2 et syntax=php