summaryrefslogtreecommitdiff
path: root/modules/gallery/controllers/upgrader.php
diff options
context:
space:
mode:
authorChad Kieffer <ckieffer@gmail.com>2009-06-23 23:56:05 -0600
committerChad Kieffer <ckieffer@gmail.com>2009-06-23 23:56:05 -0600
commitc37fc39152ceeb5f4d51f9b297b313847bb445e5 (patch)
treeb27850ad7eff09217f4a9a34379ff3780cd1a19e /modules/gallery/controllers/upgrader.php
parent200e17c884df8c2a265fab828be2ef869e580e35 (diff)
parentf9dbd4eb2feede5381d481f473bf7f0a77b49e4a (diff)
Merge branch 'master' of git@github.com:gallery/gallery3
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);
}
}