diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-05-09 14:16:49 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-05-09 14:16:49 +0000 |
commit | 5b3f42372fcd772063aadbb9b262e943a2163f3b (patch) | |
tree | b0921ac64c0cb748816d7718dddd4296c765a7dd | |
parent | e1304697c4da2ad7f145956ffe440a63952be995 (diff) | |
download | brdo-5b3f42372fcd772063aadbb9b262e943a2163f3b.tar.gz brdo-5b3f42372fcd772063aadbb9b262e943a2163f3b.tar.bz2 |
- Patch #62554 by webchick: removed some cruft.
-rw-r--r-- | modules/taxonomy.module | 11 | ||||
-rw-r--r-- | modules/taxonomy/taxonomy.module | 11 |
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) { |