From 7c6dbceaaa7f9fe8c5fe80b45da9feb332370799 Mon Sep 17 00:00:00 2001 From: Jennifer Hodgdon Date: Wed, 12 Mar 2014 09:59:28 -0700 Subject: Issue #2182187 by izus: Clarify documentation for taxonomy_vocabulary_delete() --- modules/taxonomy/taxonomy.module | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'modules/taxonomy') diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index 25bfa4f94..4191146a4 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -457,7 +457,12 @@ function taxonomy_vocabulary_save($vocabulary) { } /** - * Delete a vocabulary. + * Deletes a vocabulary. + * + * This will update all Taxonomy fields so that they don't reference the + * deleted vocabulary. It also will delete fields that have no remaining + * vocabulary references. All taxonomy terms of the deleted vocabulary + * will be deleted as well. * * @param $vid * A vocabulary ID. -- cgit v1.2.3