summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-08-28 21:25:09 -0700
committerBharat Mediratta <bharat@menalto.com>2010-08-28 21:25:09 -0700
commit922b810c56bc42a5d3df957cae82c0e70642f8fa (patch)
treebe7e2b52f493077babe627be67bc5a345d2493fb
parentb1275ab39d5b14c337ad9956e2ac5c5dcded8936 (diff)
Oops, forgot to create an install() function and set the version of
the organize module to 2 in 8fb56abf034dd1f5c561e7af12bf6e097a3de6f6
-rw-r--r--installer/install.sql2
-rw-r--r--modules/organize/helpers/organize_installer.php4
2 files changed, 5 insertions, 1 deletions
diff --git a/installer/install.sql b/installer/install.sql
index c6314aa7..058bc882 100644
--- a/installer/install.sql
+++ b/installer/install.sql
@@ -247,7 +247,7 @@ CREATE TABLE {modules} (
INSERT INTO {modules} VALUES (1,1,'gallery',34,1);
INSERT INTO {modules} VALUES (2,1,'user',3,2);
INSERT INTO {modules} VALUES (3,1,'comment',3,3);
-INSERT INTO {modules} VALUES (4,1,'organize',1,4);
+INSERT INTO {modules} VALUES (4,1,'organize',2,4);
INSERT INTO {modules} VALUES (5,1,'info',1,5);
INSERT INTO {modules} VALUES (6,1,'rest',3,6);
INSERT INTO {modules} VALUES (7,1,'rss',1,7);
diff --git a/modules/organize/helpers/organize_installer.php b/modules/organize/helpers/organize_installer.php
index bbe6fc65..12d8147f 100644
--- a/modules/organize/helpers/organize_installer.php
+++ b/modules/organize/helpers/organize_installer.php
@@ -22,6 +22,10 @@ class organize_installer {
site_status::clear("organize_needs_rest");
}
+ static function install() {
+ module::set_version("organize", $version = 2);
+ }
+
static function upgrade($version) {
if ($version == 1) {
if (!module::is_active("rest")) {