Skip to content
This repository has been archived by the owner on Sep 10, 2021. It is now read-only.

Commit

Permalink
Another fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamie Snape committed Oct 1, 2015
1 parent 86fe1e8 commit 8e78cef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/controllers/AdminController.php
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,8 @@ public function upgradeAction()
$upgraded = false;
foreach ($modulesConfig as $key => $module) {
$this->Component->Upgrade->initUpgrade($key, $db, $dbtype);
if ($this->Component->Upgrade->upgrade($module->version)) {
$currentModuleVersion = UtilityComponent::getCurrentModuleVersion($key);
if ($this->Component->Upgrade->upgrade($currentModuleVersion)) {
$upgraded = true;
}
}
Expand Down

0 comments on commit 8e78cef

Please sign in to comment.