[TASK] Use name-resolution instead of strings where possible: 12
[Packages/TYPO3.CMS.git] / typo3 / sysext / sv / ext_tables.php
index 46fe162..db064f6 100644 (file)
@@ -1,12 +1,11 @@
 <?php
-if (!defined ('TYPO3_MODE'))   die ('Access denied.');
+defined('TYPO3_MODE') or die();
 
-if (TYPO3_MODE == 'BE') {
+if (TYPO3_MODE === 'BE') {
        $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['sv']['services'] = array(
-               'title'       => 'LLL:EXT:sv/reports/locallang.xml:report_title',
-               'description' => 'LLL:EXT:sv/reports/locallang.xml:report_description',
-               'icon'            => 'EXT:sv/reports/tx_sv_report.png',
-               'report'      => 'tx_sv_reports_ServicesList'
+               'title' => 'LLL:EXT:sv/Resources/Private/Language/locallang.xlf:report_title',
+               'description' => 'LLL:EXT:sv/Resources/Private/Language/locallang.xlf:report_description',
+               'icon' => 'EXT:sv/Resources/Public/Images/service-reports.png',
+               'report' => \TYPO3\CMS\Sv\Report\ServicesListReport::class
        );
 }
-?>
\ No newline at end of file