[TYPO3-core] FYI24 #17149: Remove sys_refindex_* tables and unused code

Christian Kuhn lolli at schwarzbu.ch
Wed Jan 19 21:28:49 CET 2011


The following patch will be committed in 24 hours if nobody objects.

Type: cleanup

Branches: trunk

BT:http://bugs.typo3.org/view.php?id=17149

Problem:
Did anyone ever discovered exactly what the tables sys_refindex_rel, 
sys_refindex_res and sys_refindex_words are, and why they are always 
empty? Exactly! Me neither ;)
Turns out they are only used in class t3lib_refindex methods 
updateWordIndex() and submitWords() which are called by wordIndexing() 
which is called by updateRefIndexTable(). The funny thing is: Method 
wordIndexing() starts with: "return; // Disabled until Kasper finishes 
this feature". So, this was never finished since 2006 when it was 
implemented. And it is so important that exactly nobody took care of it 
since then ;)

Solution:
Remove table definition, remove methods, remove method call. I know that 
we usually deprecate things, but this feature was never working and I 
bet that even no extension used the code. So I'm sure we can just safely 
remove the stuff.

Regards
Christian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 17149_01.diff
Type: text/x-patch
Size: 4492 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110119/0263203e/attachment-0001.bin>


More information about the TYPO3-team-core mailing list