summaryrefslogtreecommitdiff
path: root/modules/taxonomy/taxonomy.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-01-23 16:41:34 +0000
committerDries Buytaert <dries@buytaert.net>2010-01-23 16:41:34 +0000
commit76a3a1f41fdbc7e7e562a63f68eb7642994f0d0c (patch)
tree43dcd3da921a4cb70cd3f79cf087dea7ce368ebb /modules/taxonomy/taxonomy.module
parentf97a92d5fc018aaa4886cfd3288c7ae391480b37 (diff)
downloadbrdo-76a3a1f41fdbc7e7e562a63f68eb7642994f0d0c.tar.gz
brdo-76a3a1f41fdbc7e7e562a63f68eb7642994f0d0c.tar.bz2
- Patch #693362 by catch: taxonomy_form_all() is dead code, and dangerous.
Diffstat (limited to 'modules/taxonomy/taxonomy.module')
-rw-r--r--modules/taxonomy/taxonomy.module18
1 files changed, 0 insertions, 18 deletions
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module
index cad3049f8..8e70c5a84 100644
--- a/modules/taxonomy/taxonomy.module
+++ b/modules/taxonomy/taxonomy.module
@@ -573,24 +573,6 @@ function taxonomy_terms_static_reset() {
}
/**
- * 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.
*
* @param $type