[BUGFIX] Move legacy indexed_search plugin registration 88/51288/2
authorBenni Mack <benni@typo3.org>
Thu, 12 Jan 2017 14:34:13 +0000 (15:34 +0100)
committerAndreas Fernandez <typo3@scripting-base.de>
Thu, 12 Jan 2017 14:40:13 +0000 (15:40 +0100)
When moved to EXT:compatibility7 the pi-based Indexed Search
plugin registration was moved to "Configuration/TCA" but
should go into "Configuration/TCA/Overrides".

Resolves: #79299
Releases: master
Change-Id: Ic9abec2a967b08514a786bc2ee62ce65024a1e32
Reviewed-on: https://review.typo3.org/51288
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
typo3/sysext/compatibility7/Configuration/TCA/Overrides/tt_content.php [new file with mode: 0644]
typo3/sysext/compatibility7/Configuration/TCA/tt_content.php [deleted file]

diff --git a/typo3/sysext/compatibility7/Configuration/TCA/Overrides/tt_content.php b/typo3/sysext/compatibility7/Configuration/TCA/Overrides/tt_content.php
new file mode 100644 (file)
index 0000000..43258e1
--- /dev/null
@@ -0,0 +1,10 @@
+<?php
+defined('TYPO3_MODE') or die();
+
+// Register "old" FE plugin and hide layout, select_key and pages fields in BE
+\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(
+    ['LLL:EXT:indexed_search/Resources/Private/Language/locallang_main.xlf:mod_indexed_search', 'indexed_search'],
+    'list_type',
+    'indexed_search'
+);
+$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist']['indexed_search'] = 'layout,select_key,pages';
diff --git a/typo3/sysext/compatibility7/Configuration/TCA/tt_content.php b/typo3/sysext/compatibility7/Configuration/TCA/tt_content.php
deleted file mode 100644 (file)
index 43258e1..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-defined('TYPO3_MODE') or die();
-
-// Register "old" FE plugin and hide layout, select_key and pages fields in BE
-\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(
-    ['LLL:EXT:indexed_search/Resources/Private/Language/locallang_main.xlf:mod_indexed_search', 'indexed_search'],
-    'list_type',
-    'indexed_search'
-);
-$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist']['indexed_search'] = 'layout,select_key,pages';