[BUGFIX] Fix wrong usage of $callback in ArrayUtility::filterRecursive
[Packages/TYPO3.CMS.git] / typo3 / sysext / indexed_search / ext_tables.php
index 2980fdc..971ad4e 100644 (file)
@@ -1,27 +1,20 @@
 <?php
 defined('TYPO3_MODE') or die();
 
-\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Indexed Search (Extbase & Fluid based)');
-
-if (TYPO3_MODE === 'BE') {
-       \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
-               'TYPO3.CMS.IndexedSearch',
-               'web',
-               'isearch',
-               '',
-               array(
-                       'Administration' => 'index,pages,externalDocuments,statistic,statisticDetails,deleteIndexedItem,saveStopwordsKeywords,wordDetail',
-               ),
-               array(
-                       'access' => 'admin',
-                       'icon'   => 'EXT:indexed_search/Resources/Public/Icons/module-indexed_search.svg',
-                       'labels' => 'LLL:EXT:indexed_search/Resources/Private/Language/locallang_mod.xlf',
-               )
-       );
-
-       $GLOBALS['TBE_MODULES_EXT']['xMOD_db_new_content_el']['addElClasses']['tx_indexed_search_pi_wizicon'] =
-               \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Resources/PHP/class.tx_indexed_search_pi_wizicon.php';
-}
+\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
+    'TYPO3.CMS.IndexedSearch',
+    'web',
+    'isearch',
+    '',
+    [
+        'Administration' => 'index,pages,externalDocuments,statistic,statisticDetails,deleteIndexedItem,saveStopwordsKeywords,wordDetail',
+    ],
+    [
+        'access' => 'admin',
+        'icon'   => 'EXT:indexed_search/Resources/Public/Icons/module-indexed_search.svg',
+        'labels' => 'LLL:EXT:indexed_search/Resources/Private/Language/locallang_mod.xlf',
+    ]
+);
 
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('index_config');
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('index_config', 'EXT:indexed_search/Resources/Private/Language/locallang_csh_indexcfg.xlf');