You are here

function advanced_forum_addvars in Advanced Forum 5

Provides D5 compatability wrapper for node/comment preprocess functions.

File

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

Code

function advanced_forum_addvars($hook, $variables) {
  switch ($hook) {
    case 'node':
    case 'comment':
      advanced_forum_call_preprocess($hook, $variables);
  }
  return $variables;
}