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. +