diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2009-06-23 15:17:03 -0700 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-06-23 15:17:03 -0700 |
| commit | 79522bd4f31f8e4d70e754e42d5d33c4031519c9 (patch) | |
| tree | 12819f685a9983fb783af457ebd9aa5cded09c62 /modules/gallery/controllers/upgrader.php | |
| parent | 8f443cef3e304c12f9e3555332880395051e7e3d (diff) | |
| parent | da09185a4baa739dd011804eb1301cdf2d126c11 (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.php | 6 |
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); } } |
