[BUGFIX] Return success when zero wizards run in upgrade:run 58/58558/4
authorBenjamin Franzke <bfr@qbus.de>
Tue, 2 Oct 2018 12:12:08 +0000 (14:12 +0200)
committerMathias Brodala <mbrodala@pagemachine.de>
Fri, 12 Oct 2018 07:31:40 +0000 (09:31 +0200)
Having to run zero wizards (e.g. fully upgraded)
is obviously not an error.

Releases: master
Resolves: #86543
Change-Id: Ide967005581e7c5fa956f5ffdb2c482a4a2f2048
Reviewed-on: https://review.typo3.org/58558
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Tomas Norre Mikkelsen <tomasnorre@gmail.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Tested-by: Mathias Brodala <mbrodala@pagemachine.de>
typo3/sysext/install/Classes/Command/UpgradeWizardRunCommand.php

index 27ad21e..6978299 100644 (file)
@@ -261,7 +261,7 @@ class UpgradeWizardRunCommand extends Command
      */
     public function runAllWizards(): int
     {
-        $returnCode = 1;
+        $returnCode = 0;
         $wizardInstances = [];
         foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update'] as $identifier => $class) {
             $wizardInstances[] = $this->getWizard($class, $identifier);