You are here

function advanced_forum_module_implements_alter in Advanced Forum 7.2

Implements hook_module_implements_alter().

We don't want forum_menu_local_tasks_alter() to be called and mess with our links.

File

./advanced_forum.module, line 98
Enables the look and feel of other popular forum software.

Code

function advanced_forum_module_implements_alter(&$implementations, $hook) {
  if ($hook == 'menu_local_tasks_alter') {
    unset($implementations['forum']);
  }
}