[BUGFIX] Re-enable indexed_search $TCA for index_config
authorFelix Kopp <felix-source@phorax.com>
Fri, 11 May 2012 13:31:48 +0000 (15:31 +0200)
committerSteffen Ritter <info@rs-websystems.de>
Tue, 15 May 2012 09:05:38 +0000 (11:05 +0200)
EXT: indexed_search $TCA for table index_config is only loaded
when EXT: crawler is installed but $TCA must always be included.
Removes condition to limit $TCA inclusion.

Change-Id: I9768ae18c40fa95084fbca54880ffc7b31e1f0a1
Fixes: #32815
Releases: 4.7, 6.0
Reviewed-on: http://review.typo3.org/11145
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
typo3/sysext/indexed_search/ext_tables.php

index 4c44812..44ab7cc 100755 (executable)
@@ -37,28 +37,26 @@ if (TYPO3_MODE=='BE')    {
 t3lib_extMgm::allowTableOnStandardPages('index_config');
 t3lib_extMgm::addLLrefForTCAdescr('index_config','EXT:indexed_search/locallang_csh_indexcfg.xml');
 
-if (t3lib_extMgm::isLoaded('crawler')) {
-       $TCA['index_config'] = Array (
-               'ctrl' => Array (
-                       'title' => 'LLL:EXT:indexed_search/locallang_db.php:index_config',
-                       'label' => 'title',
-                       'tstamp' => 'tstamp',
-                       'crdate' => 'crdate',
-                       'cruser_id' => 'cruser_id',
-                       'type' => 'type',
-                       'default_sortby' => 'ORDER BY crdate',
-                       'enablecolumns' => Array (
-                               'disabled' => 'hidden',
-                               'starttime' => 'starttime',
-                       ),
-                       'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tca.php',
-                       'iconfile' => 'default.gif',
+$TCA['index_config'] = array(
+       'ctrl' => array(
+               'title' => 'LLL:EXT:indexed_search/locallang_db.php:index_config',
+               'label' => 'title',
+               'tstamp' => 'tstamp',
+               'crdate' => 'crdate',
+               'cruser_id' => 'cruser_id',
+               'type' => 'type',
+               'default_sortby' => 'ORDER BY crdate',
+               'enablecolumns' => array(
+                       'disabled' => 'hidden',
+                       'starttime' => 'starttime',
                ),
-               'feInterface' => Array (
-                       'fe_admin_fieldList' => 'hidden, starttime, title, description, type, depth, table2index, alternative_source_pid, get_params, chashcalc, filepath, extensions',
-               )
-       );
-}
+               'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php',
+               'iconfile' => 'default.gif',
+       ),
+       'feInterface' => array(
+               'fe_admin_fieldList' => 'hidden, starttime, title, description, type, depth, table2index, alternative_source_pid, get_params, chashcalc, filepath, extensions',
+       )
+);
 
 
        // Example of crawlerhook (see also ext_localconf.php!)