Commit 5b3f4237 authored by Dries's avatar Dries
Browse files

- Patch #62554 by webchick: removed some cruft.

parent e1304697
......@@ -107,8 +107,8 @@ function taxonomy_menu($may_cache) {
$items[] = array('path' => 'admin/taxonomy/' . arg(2) . '/add/term',
'title' => t('add term'),
'callback' => 'taxonomy_admin_term_add',
'callback arguments' => array(arg(2)),
'callback' => 'taxonomy_form_term',
'callback arguments' => array(array('vid' => arg(2))),
'access' => user_access('administer taxonomy'),
'type' => MENU_LOCAL_TASK);
}
......@@ -1298,13 +1298,6 @@ function taxonomy_admin_term_edit($tid = NULL) {
return taxonomy_form_term($term);
}
/**
* Page to add a term to a specific vocabulary.
*/
function taxonomy_admin_term_add($vid = NULL) {
return taxonomy_form_term(array('vid' => arg(2)));
}
/**
* Provides category information for rss feeds
*/
......
......@@ -107,8 +107,8 @@ function taxonomy_menu($may_cache) {
$items[] = array('path' => 'admin/taxonomy/' . arg(2) . '/add/term',
'title' => t('add term'),
'callback' => 'taxonomy_admin_term_add',
'callback arguments' => array(arg(2)),
'callback' => 'taxonomy_form_term',
'callback arguments' => array(array('vid' => arg(2))),
'access' => user_access('administer taxonomy'),
'type' => MENU_LOCAL_TASK);
}
......@@ -1298,13 +1298,6 @@ function taxonomy_admin_term_edit($tid = NULL) {
return taxonomy_form_term($term);
}
/**
* Page to add a term to a specific vocabulary.
*/
function taxonomy_admin_term_add($vid = NULL) {
return taxonomy_form_term(array('vid' => arg(2)));
}
/**
* Provides category information for rss feeds
*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment