summaryrefslogtreecommitdiff
path: root/modules/organize/helpers/organize_installer.php
diff options
context:
space:
mode:
authormamouneyya <mamoun.diraneyya@gmail.com>2010-08-31 18:04:21 +0300
committermamouneyya <mamoun.diraneyya@gmail.com>2010-08-31 18:04:21 +0300
commit0b6664e8f9d19df025739bc4a0cf1821563d6b3d (patch)
tree5b1de2331d4a9d0eb8d97bbb74be6d794d6260a1 /modules/organize/helpers/organize_installer.php
parent0a128bab0a788288c5291491a68bd1c9ab432825 (diff)
parent23d59dec7240dfa4bffe9d88f46a848e76ce0134 (diff)
Merge remote branch 'gallery3/master'
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");
}