diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index cad3049f86cb..8e70c5a848e6 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -572,24 +572,6 @@ function taxonomy_terms_static_reset() { entity_get_controller('taxonomy_term')->resetCache(); } -/** - * Generate a set of options for selecting a term from all vocabularies. - */ -function taxonomy_form_all() { - $vocabularies = taxonomy_get_vocabularies(); - $options = array(); - foreach ($vocabularies as $vid => $vocabulary) { - $tree = taxonomy_get_tree($vid); - if ($tree && (count($tree) > 0)) { - $options[$vocabulary->name] = array(); - foreach ($tree as $term) { - $options[$vocabulary->name][$term->tid] = str_repeat('-', $term->depth) . $term->name; - } - } - } - return $options; -} - /** * Return an array of all vocabulary objects. *