Issue Bug Closed

#24668Remove sys_refindex_* tables and unused code

Christian Kuhn 01/19/11, 21:21 updated 02/11/11, 11:04

Description

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 for, 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 this. So I’m sure we can just safely remove the stuff.

(issue imported from #M17149)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.