From b53879dd763db4ea356b40f6fa72ecc1d543a420 Mon Sep 17 00:00:00 2001 From: kevin_fourie Date: Thu, 31 Jan 2008 22:02:47 +0000 Subject: [PATCH] KTS-2799 "3.5.2 beta 2 upgrade error" Updated. Updated the persistent actions methods. This needs to be done properly if it works. --- setup/upgrade.php | 46 +++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 43 insertions(+), 3 deletions(-) diff --git a/setup/upgrade.php b/setup/upgrade.php index 56aa674..0b1fad2 100644 --- a/setup/upgrade.php +++ b/setup/upgrade.php @@ -123,7 +123,16 @@ function performAllUpgrades () { return $res; } -function performPersistentActions() { +function performPreUpgradeActions() { + + // This is just to test and needs to be updated to a more sane and error resistent architrcture if it works. + // It should idealy work the same as the upgrades. + + return true; + +} + +function performPostUpgradeActions() { // This is just to test and needs to be updated to a more sane and error resistent architrcture if it works. // It should idealy work the same as the upgrades. @@ -1063,8 +1072,24 @@ function Upgrade() upgrade your installation to systemVersion;?>. +Pre-Upgrade actions failed. + +

+Pre-Upgrade actions succeeded. + +

+ @@ -1073,7 +1098,6 @@ function Upgrade() } else { - ?>

Upgrade succeeded. @@ -1081,6 +1105,22 @@ function Upgrade() } ?>

+ +Post-Upgrade actions failed. + +

+Post-Upgrade actions succeeded. +               -- libgit2 0.21.4