[TASK] Update TYPO3 version to TYPO3 8.4-dev
[Packages/TYPO3.CMS.git] / typo3 / sysext / wizard_sortpages / ext_tables.php
old mode 100755 (executable)
new mode 100644 (file)
index 9c07c49..9e7b539
@@ -1,18 +1,16 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 if (TYPO3_MODE === 'BE') {
-       \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
-               'web_func',
-               'TYPO3\\CMS\\WizardSortPages\\View\\SortPagesWizardModuleFunction',
-               \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Classes/View/SortPagesWizardModuleFunction.php',
-               'LLL:EXT:wizard_sortpages/locallang.php:wiz_sort',
-               'wiz'
-       );
-       \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr(
-               '_MOD_web_func',
-               'EXT:wizard_sortpages/locallang_csh.xlf'
-       );
+    \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
+        'web_func',
+        \TYPO3\CMS\WizardSortpages\View\SortPagesWizardModuleFunction::class,
+        null,
+        'LLL:EXT:wizard_sortpages/Resources/Private/Language/locallang.xlf:wiz_sort'
+    );
+
+    \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr(
+        '_MOD_web_func',
+        'EXT:wizard_sortpages/Resources/Private/Language/locallang_csh.xlf'
+    );
 }
-?>
\ No newline at end of file