Community Documentation

legacy_taxonomy_feed

5 legacy.module legacy_taxonomy_feed($operation = 'or', $str_tids = '')

Menu callback; redirects users to new taxonomy feed paths.

File

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

Code

<?php
function legacy_taxonomy_feed($operation = 'or', $str_tids = '') {
  if ($operation == 'or') {
    $str_tids = str_replace(',', '+', $str_tids);
  }
  drupal_goto('taxonomy/term/' . $str_tids . '/0/feed');
}
?>
Login or register to post comments