summaryrefslogtreecommitdiff
path: root/modules/gallery/controllers/upgrader.php
diff options
context:
space:
mode:
authorRomain LE DISEZ <romain.git@ledisez.net>2009-06-24 23:02:57 +0200
committerRomain LE DISEZ <romain.git@ledisez.net>2009-06-24 23:02:57 +0200
commit6111272568a732465c330597a068a048f6705ef9 (patch)
treef8829dfb4c4ee566a69f91d397e74e74aec56dbd /modules/gallery/controllers/upgrader.php
parentde28b0350e5d5bf6c3e1eb5a9531298b08fd7cba (diff)
parentf56d372629df5b08a30d0182d4e1e7c97a44d79f (diff)
Merge commit 'upstream/master'
Conflicts: modules/comment/helpers/comment_installer.php modules/gallery/models/item.php
Diffstat (limited to 'modules/gallery/controllers/upgrader.php')
-rw-r--r--modules/gallery/controllers/upgrader.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/gallery/controllers/upgrader.php b/modules/gallery/controllers/upgrader.php
index 5eb96fdd..91952fa9 100644
--- a/modules/gallery/controllers/upgrader.php
+++ b/modules/gallery/controllers/upgrader.php
@@ -50,8 +50,8 @@ class Upgrader_Controller extends Controller {
}
// Upgrade gallery and user first
- module::install("gallery");
- module::install("user");
+ module::upgrade("gallery");
+ module::upgrade("user");
// Then upgrade the rest
foreach (module::available() as $id => $module) {
@@ -60,7 +60,7 @@ class Upgrader_Controller extends Controller {
}
if ($module->active && $module->code_version != $module->version) {
- module::install($id);
+ module::upgrade($id);
}
}