summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/taxonomy.module11
-rw-r--r--modules/taxonomy/taxonomy.module11
2 files changed, 4 insertions, 18 deletions
diff --git a/modules/taxonomy.module b/modules/taxonomy.module
index 0f6b310eb..29ccd3ae0 100644
--- a/modules/taxonomy.module
+++ b/modules/taxonomy.module
@@ -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);
}
@@ -1299,13 +1299,6 @@ function taxonomy_admin_term_edit($tid = NULL) {
}
/**
- * 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
*/
function taxonomy_rss_item($node) {
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module
index 0f6b310eb..29ccd3ae0 100644
--- a/modules/taxonomy/taxonomy.module
+++ b/modules/taxonomy/taxonomy.module
@@ -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);
}
@@ -1299,13 +1299,6 @@ function taxonomy_admin_term_edit($tid = NULL) {
}
/**
- * 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
*/
function taxonomy_rss_item($node) {