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.
Just a minor performance tweak, we don't use nodecomment and with many subforums the extra load on a forum page was adding up.
Patch to follow
Comments
Comment #1
plenarius CreditAttribution: plenarius commentedComment #2
plenarius CreditAttribution: plenarius commentedI just found another instance where the node_load is unneeded in advanced_forum_last_post_in_topic
Also my isset check from the first patch isn't needed