i'm trying to implement lightweight topic tracker for core forums (tracking new topics and comments on main forum view).
I'd like to override
forum_forum_load() method, but core forums calls
forum_forum_load() method inside of a
forum_menu_local_tasks_alter() and besides my overridden
mymodule_local_tasks_alter() it'll still call core forums own
forum_forum_load() method making 2x more queries (2 x Amount of forums, in this case 28x2).
I replaced forum load function call inside of
forum_menu_local_tasks_alter() with my own function and seems like it's working just fine, but I don't want to mess with the core, so I'd know if there is other way to prevent that behaviour.
I tried some other forum extending modules and they all have exactly same problem.