Skip to content

Commit

Permalink
[BUGFIX] Return success when zero wizards run in upgrade:run
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
bnf authored and mbrodala committed Oct 12, 2018
1 parent db3a3cc commit 75cf0b3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ protected function runSingleWizard(
*/
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);
Expand Down

0 comments on commit 75cf0b3

Please sign in to comment.