diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-08-08 18:55:53 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-08-08 18:55:53 +0000 |
commit | 91942614d600c28361ef81cbcaa885e22c12e555 (patch) | |
tree | 1917d3f21e6381876c084115cb8191c3f15239ac | |
parent | 1fd2c6e197f7719ceca1bb52c4e0791fc3402e15 (diff) | |
download | brdo-91942614d600c28361ef81cbcaa885e22c12e555.tar.gz brdo-91942614d600c28361ef81cbcaa885e22c12e555.tar.bz2 |
- Patch #62362 by Moshe: kill the 'form' operation of hook_taxonomy.
-rw-r--r-- | modules/taxonomy/taxonomy.module | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index fc83e9c54..d2496bccc 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -254,15 +254,6 @@ function taxonomy_form_vocabulary($edit = array()) { '#description' => t('In listings, the heavier vocabularies will sink and the lighter vocabularies will be positioned nearer the top.'), ); - // Add extra vocabulary form elements. - $extra = module_invoke_all('taxonomy', 'form', 'vocabulary'); - if (is_array($extra)) { - foreach ($extra as $key => $element) { - $extra[$key]['#weight'] = isset($extra[$key]['#weight']) ? $extra[$key]['#weight'] : -18; - } - $form = array_merge($form, $extra); - } - $form['submit'] = array('#type' => 'submit', '#value' => t('Submit')); if ($edit['vid']) { $form['delete'] = array('#type' => 'submit', '#value' => t('Delete')); |