Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I did a search of every file in HEAD, and the taxonomy_form_all() function is not called once, anywhere. This is a redundant function, and should be removed. I believe that the patch submitted in http://drupal.org/node/19089 removed the only call to this function anywhere in the core code base.
Comment | File | Size | Author |
---|---|---|---|
remove_taxonomy_form_all.patch | 1.07 KB | Jaza | |
Comments
Comment #1
Dries CreditAttribution: Dries commentedCommitted to HEAD.
Comment #2
Jaza CreditAttribution: Jaza commentedSorry...
It appears that taxonomy_form_all() is called by search.module. This didn't come up when I looked for instances of the function being called, as it is called through module_invoke().
Can this patch be rolled back, please? The taxonomy search box does not display in search/node without this function.
Comment #3
Jaza CreditAttribution: Jaza commentedJust to clarify: this function is not called in search.module, it is called in node.module through hook_search().
And once again, sorry about the bad patch: I'll remember for next time to search for part of a function's name, rather than just the whole name.
Comment #4
Dries CreditAttribution: Dries commentedComment #5
(not verified) CreditAttribution: commented