diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-01-23 16:41:34 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-01-23 16:41:34 +0000 |
commit | 76a3a1f41fdbc7e7e562a63f68eb7642994f0d0c (patch) | |
tree | 43dcd3da921a4cb70cd3f79cf087dea7ce368ebb /modules/taxonomy/taxonomy.module | |
parent | f97a92d5fc018aaa4886cfd3288c7ae391480b37 (diff) | |
download | brdo-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.module | 18 |
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 |