[TASK] Install tool: Code optimization in update wizard action 15/21515/2
authorChristian Kuhn <lolli@schwarzbu.ch>
Wed, 19 Jun 2013 20:11:04 +0000 (22:11 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Wed, 19 Jun 2013 20:13:41 +0000 (22:13 +0200)
commit640e6170db3616c7507079f6a46e46529bd86710
tree5734f328f7751235cc0a77d2067d54f3e5ac76fd
parentf07f872e4aad8a9a257b36735a2ccafd29cbe21b
[TASK] Install tool: Code optimization in update wizard action

An if with only a 'throw Exception' call in it breaks code execution
and acts as a guard clause. The code below does not need to be in
an else case.

Change-Id: Ib24ed4bee06763fb46145b815a0b6f3fdf7bafa6
Resolves: #49263
Related: #49162
Releases: 6.2
Reviewed-on: https://review.typo3.org/21515
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/install/Classes/Controller/Action/Tool/UpdateWizard.php