You are here

function legacy_taxonomy_page in Drupal 5

Same name and namespace in other branches
  1. 4 modules/legacy.module \legacy_taxonomy_page()

Menu callback; redirects users to new taxonomy page paths.

1 string reference to 'legacy_taxonomy_page'
legacy_menu in modules/legacy/legacy.module
Implementation of hook_menu().

File

modules/legacy/legacy.module, line 81
Provides legacy handlers for upgrades from older Drupal installations.

Code

function legacy_taxonomy_page($operation = 'or', $str_tids = '') {
  if ($operation == 'or') {
    $str_tids = str_replace(',', '+', $str_tids);
  }
  drupal_goto('taxonomy/term/' . $str_tids);
}