summaryrefslogtreecommitdiff
path: root/modules/organize/helpers/organize_installer.php
diff options
context:
space:
mode:
authorNathan Kinkade <nkinkade@nkinka.de>2010-09-01 17:40:01 +0000
committerNathan Kinkade <nkinkade@nkinka.de>2010-09-01 17:40:01 +0000
commit538df03dd14f93419209ef61107a674575828e25 (patch)
treef5874b59fa616d538abaf08f9c9bf61724788bba /modules/organize/helpers/organize_installer.php
parent940f9330efca76c84e7a645cafc93acd2751a225 (diff)
parent78c590ebaee738435260e3b0bf6cb8fb5431a08d (diff)
Manually merged changes to .htaccess file resolving conflicts due to my changes of the file.
Diffstat (limited to 'modules/organize/helpers/organize_installer.php')
-rw-r--r--modules/organize/helpers/organize_installer.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/modules/organize/helpers/organize_installer.php b/modules/organize/helpers/organize_installer.php
index bbe6fc65..2faa598b 100644
--- a/modules/organize/helpers/organize_installer.php
+++ b/modules/organize/helpers/organize_installer.php
@@ -22,12 +22,15 @@ 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")) {
site_status::warning(
- t("The Organize module requires the Rest module. " .
- "<a href=\"%url\">Activate the Rest module now</a>",
+ t("The Organize module requires the Rest module. <a href=\"%url\">Activate the Rest module now</a>",
array("url" => html::mark_clean(url::site("admin/modules")))),
"organize_needs_rest");
}