diff --git a/setup/upgrade/steps/upgradeDatabase.php b/setup/upgrade/steps/upgradeDatabase.php index dd3ff82..29b5883 100644 --- a/setup/upgrade/steps/upgradeDatabase.php +++ b/setup/upgrade/steps/upgradeDatabase.php @@ -242,12 +242,9 @@ class upgradeDatabase extends Step private function doDatabaseUpgrade() { $errors = false; - $this->temp_variables['detail'] = '
The table below describes the upgrades that have occurred to upgrade your KnowledgeTree installation to ' . $this->sysVersion . ''; - $this->performPreUpgradeActions(); - $res = $this->performAllUpgrades(); if (!$res) { $errors = true; @@ -261,12 +258,10 @@ class upgradeDatabase extends Step If the problem persists, contact KnowledgeTree Support.'; } else { + $this->performPostUpgradeActions(); $this->temp_variables['upgradeStatus'] = 'Upgrade succeeded.'; } - $this->performPostUpgradeActions(); - - return !$errors; }