From 7ddfac434a8cf4db73dd4674c7c943db590f1d15 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 28 Nov 2006 13:15:31 +0000 Subject: [PATCH] - Patch #99694 by bdragon: removed dead code. --- modules/taxonomy/taxonomy.module | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index 17025b0312c..e12b187eb55 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -384,17 +384,6 @@ function taxonomy_form_term($vocabulary_id, $edit = array()) { $form['synonyms'] = array('#type' => 'textarea', '#title' => t('Synonyms'), '#default_value' => implode("\n", taxonomy_get_synonyms($edit['tid'])), '#description' => t('Synonyms of this term, one synonym per line.', array('@help-url' => url('admin/help/taxonomy', NULL, NULL, 'synonyms')))); $form['weight'] = array('#type' => 'weight', '#title' => t('Weight'), '#default_value' => $edit['weight'], '#description' => t('In listings, the heavier terms will sink and the lighter terms will be positioned nearer the top.')); - - // Add extra term form elements. - $extra = module_invoke_all('taxonomy', 'term', '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['vid'] = array('#type' => 'value', '#value' => $vocabulary->vid); $form['submit'] = array('#type' => 'submit', '#value' => t('Submit'));