[TASK] Remove non existing param from checkForUpdate 55/53755/2
authorFrans Saris <franssaris@gmail.com>
Mon, 21 Aug 2017 09:49:05 +0000 (11:49 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Mon, 21 Aug 2017 13:10:02 +0000 (15:10 +0200)
Releases: master, 8,7
Resolves: #82144
Change-Id: I24b2d57e37f6ff95b7ec7bdab7cda0f21e85c90b
Reviewed-on: https://review.typo3.org/53755
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/install/Classes/Updates/AbstractUpdate.php

index dcc0b43..30d7e59 100644 (file)
@@ -116,10 +116,9 @@ abstract class AbstractUpdate
      */
     public function shouldRenderWizard()
     {
-        $showUpdate = 0;
         $explanation = '';
-        $result = $this->checkForUpdate($explanation, $showUpdate);
-        return $showUpdate > 0 || $result == true;
+        $result = $this->checkForUpdate($explanation);
+        return (bool)$result === true;
     }
 
     /**