diff options
author | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-05-16 02:22:58 +0000 |
---|---|---|
committer | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-05-16 02:22:58 +0000 |
commit | 0652e5b5ccc076f35effc748d7bd5b1f07146461 (patch) | |
tree | a5e2e067084a912b33dce4b620d9b2edba092670 /modules/taxonomy/taxonomy.module | |
parent | b090fc1a2146ab0bc07521619c677dd6879de486 (diff) | |
download | brdo-0652e5b5ccc076f35effc748d7bd5b1f07146461.tar.gz brdo-0652e5b5ccc076f35effc748d7bd5b1f07146461.tar.bz2 |
#53653 by me, remove an unused function.
Diffstat (limited to 'modules/taxonomy/taxonomy.module')
-rw-r--r-- | modules/taxonomy/taxonomy.module | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index 29ccd3ae0..dc0600f96 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -549,26 +549,6 @@ function taxonomy_form($vid, $value = 0, $help = NULL, $name = 'taxonomy') { } /** - * Generate a set of options for selecting a term from all vocabularies. Can be - * passed to form_select. - */ -function taxonomy_form_all($free_tags = 0) { - $vocabularies = taxonomy_get_vocabularies(); - $options = array(); - foreach ($vocabularies as $vid => $vocabulary) { - if ($vocabulary->tags && !$free_tags) { continue; } - $tree = taxonomy_get_tree($vid); - $options[$vocabulary->name] = array(); - if ($tree) { - foreach ($tree as $term) { - $options[$vocabulary->name][$term->tid] = _taxonomy_depth($term->depth, '-') . $term->name; - } - } - } - return $options; -} - -/** * Return an array of all vocabulary objects. * * @param $type |