diff --git a/typo3/sysext/sv/Classes/Report/ServicesListReport.php b/typo3/sysext/sv/Classes/Report/ServicesListReport.php index eb5c3b1eeca7a1b385478c452fc1c0bf0024422a..0b081304475c991413801594f8a93b4fc33ec03f 100644 --- a/typo3/sysext/sv/Classes/Report/ServicesListReport.php +++ b/typo3/sysext/sv/Classes/Report/ServicesListReport.php @@ -24,13 +24,10 @@ use TYPO3\CMS\Reports\ReportInterface; /** * This class provides a report displaying a list of all installed services - * Code inspired by EXT:dam/lib/class.tx_dam_svlist.php by René Fritz */ class ServicesListReport implements ReportInterface { /** - * Back-reference to the calling reports module - * * @var ReportController */ protected $reportsModule; @@ -141,8 +138,7 @@ class ServicesListReport implements ReportInterface */ protected function getExecutablesSearchPathList() { - $addInvalidSearchPaths = true; - $searchPaths = CommandUtility::getPaths($addInvalidSearchPaths); + $searchPaths = CommandUtility::getPaths(true); $result = []; foreach ($searchPaths as $path => $isValid) { @@ -210,19 +206,9 @@ class ServicesListReport implements ReportInterface return $result; } - /** - * Returns LanguageService - * - * @return \TYPO3\CMS\Lang\LanguageService - */ - protected function getLanguageService() - { - return $GLOBALS['LANG']; - } - /** * Method to check if the service in path is available - * @param $isValid + * @param bool|string $isValid * @return array */ private function getServicePathStatus($isValid): array @@ -239,4 +225,14 @@ class ServicesListReport implements ReportInterface 'accessible' => $accessible ]; } + + /** + * Returns LanguageService + * + * @return \TYPO3\CMS\Lang\LanguageService + */ + protected function getLanguageService() + { + return $GLOBALS['LANG']; + } }