nid) { case 9730: $url_queue = drupalorg_drupal_issue_url( array( 'status' => array(8, 13, 14), ), TRUE /* Absolute */ ); header('Location: '. $url_queue); exit; case 9731: $url_bugs = drupalorg_drupal_issue_url( array( 'status' => array(1), 'categories' => array('bug'), ), TRUE /* Absolute */ ); header('Location: '. $url_bugs); exit; case 9732: $url_tasks = drupalorg_drupal_issue_url( array( 'status' => array(1), 'categories' => array('task'), ), TRUE /* Absolute */ ); header('Location: '. $url_tasks); exit; case 133282: drupal_goto('patch/create'); } } } function redirects_menu() { $items = array(); $items['project/drupal project'] = array( 'access arguments' => array('access content'), 'page callback' => 'drupal_goto', 'page arguments' => array('project/drupal'), 'type' => MENU_CALLBACK, ); $items['download'] = array( 'access arguments' => array('access content'), 'page callback' => 'drupal_goto', 'page arguments' => array('project/drupal'), 'type' => MENU_CALLBACK, ); // Redirect some legacy paths related to the security listings. $items['security-contrib'] = array( 'access arguments' => array('access content'), 'page callback' => 'drupal_goto', 'page arguments' => array('security/contrib'), 'type' => MENU_CALLBACK, ); $items['security-contrib/rss.xml'] = array( 'access arguments' => array('access content'), 'page callback' => 'drupal_goto', 'page arguments' => array('security/contrib/rss.xml'), 'type' => MENU_CALLBACK, ); $items['security-psa'] = array( 'access arguments' => array('access content'), 'page callback' => 'drupal_goto', 'page arguments' => array('security/psa'), 'type' => MENU_CALLBACK, ); $items['security-psa/rss.xml'] = array( 'access arguments' => array('access content'), 'page callback' => 'drupal_goto', 'page arguments' => array('security/psa/rss.xml'), 'type' => MENU_CALLBACK, ); return $items; }