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.
Hi All,
just wondering if _forum_new function in forum.module is used anywhere.
Thanks,
Comment | File | Size | Author |
---|---|---|---|
#5 | _forum_new_obsolete.patch | 1.21 KB | swentel |
Comments
Comment #1
Liam McDermott CreditAttribution: Liam McDermott commentedI just did a grep from the Drupal root and it seems that function isn't called at all. Maybe it's still in there to help with theming?
Comment #2
MichelleYeah, I can't find a use for it, either, and http://api.drupal.org/api/function/_forum_new/7/references doesn't show anything but itself.
Michelle
Comment #3
ainigma32 CreditAttribution: ainigma32 commentedWell it's still in there. I'll see if I can roll a patch that removes it and see what people think.
- Arie
Comment #4
Liam McDermott CreditAttribution: Liam McDermott commentedComment #5
swentel CreditAttribution: swentel commentedfunctions really is obsolete, used once a long time a ago in forum_page() .. patch removes this function.
Comment #6
Dries CreditAttribution: Dries commentedCommitted to CVS HEAD. Thanks.