summaryrefslogtreecommitdiff
path: root/modules/taxonomy
diff options
context:
space:
mode:
authorDries <dries@buytaert.net>2012-08-24 15:25:55 +0200
committerDries <dries@buytaert.net>2012-08-24 15:25:55 +0200
commitf4104a20b5de4da777eba26f29736a3049caf933 (patch)
treee7ad2b21854966e4eb7a7d8dab91bcc91332e7f0 /modules/taxonomy
parent549ced20094cc361f790d739db3f89481837c981 (diff)
downloadbrdo-f4104a20b5de4da777eba26f29736a3049caf933.tar.gz
brdo-f4104a20b5de4da777eba26f29736a3049caf933.tar.bz2
Reverting because I got the commit message wrong.
This reverts commit c44e3e9790885dfab38fbeef96e52b8c5491910e.
Diffstat (limited to 'modules/taxonomy')
-rw-r--r--modules/taxonomy/taxonomy.module5
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module
index 5e58f4930..df4084c33 100644
--- a/modules/taxonomy/taxonomy.module
+++ b/modules/taxonomy/taxonomy.module
@@ -386,8 +386,7 @@ function taxonomy_admin_vocabulary_title_callback($vocabulary) {
*
* @param $vocabulary
* A vocabulary object with the following properties:
- * - vid: (optional) The ID of the vocabulary (omit if creating a new
- * vocabulary; only use to update an existing vocabulary).
+ * - vid: The ID of the vocabulary.
* - name: The human-readable name of the vocabulary.
* - machine_name: The machine name of the vocabulary.
* - description: (optional) The vocabulary's description.
@@ -402,7 +401,7 @@ function taxonomy_admin_vocabulary_title_callback($vocabulary) {
*
* @return
* Status constant indicating whether the vocabulary was inserted (SAVED_NEW)
- * or updated (SAVED_UPDATED).
+ * or updated(SAVED_UPDATED).
*/
function taxonomy_vocabulary_save($vocabulary) {
// Prevent leading and trailing spaces in vocabulary names.