Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2006-08-25 06:00:07
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Dead code ...
Looks like the search() function in publish/search.php is not referenced explicitly. It seems the searching is done in doArticles() in publish.php.
Unless this routine is called indirectly via a variable function perhaps now be a good time to trim it out along with its sub-routine legacy_form() and move the remaining filtersearch() function into publish.php.
— Steve
Offline
#2 2006-08-26 23:07:19
- zem
- Developer Emeritus

- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: Dead code ...
We left it there in case a plugin or add-on uses it.
I’ll add a warning note in a comment.
Alex
Offline
#3 2006-08-27 12:18:09
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: Dead code ...
Thanks for the feedback Alex.
— Steve
Offline
Pages: 1