summaryrefslogtreecommitdiff
path: root/modules/taxonomy/taxonomy.tokens.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-07-01 00:42:34 +0000
committerDries Buytaert <dries@buytaert.net>2010-07-01 00:42:34 +0000
commit17482ee1cb46ca9f3b223d879f86018de1f8b81b (patch)
tree85da85a179ecbbcc96d38fad4af23b94f6d20e30 /modules/taxonomy/taxonomy.tokens.inc
parent0ed7c5051f468cf1537df8c9328873047b80ce21 (diff)
downloadbrdo-17482ee1cb46ca9f3b223d879f86018de1f8b81b.tar.gz
brdo-17482ee1cb46ca9f3b223d879f86018de1f8b81b.tar.bz2
- Patch #831914 by Dave Reid: removed redundant [node:uid], [comment:uid], and [file:uid] tokens.
Diffstat (limited to 'modules/taxonomy/taxonomy.tokens.inc')
-rw-r--r--modules/taxonomy/taxonomy.tokens.inc8
1 files changed, 0 insertions, 8 deletions
diff --git a/modules/taxonomy/taxonomy.tokens.inc b/modules/taxonomy/taxonomy.tokens.inc
index 03268b28f..97a62901b 100644
--- a/modules/taxonomy/taxonomy.tokens.inc
+++ b/modules/taxonomy/taxonomy.tokens.inc
@@ -26,10 +26,6 @@ function taxonomy_token_info() {
'name' => t("Term ID"),
'description' => t("The unique ID of the taxonomy term."),
);
- $term['vid'] = array(
- 'name' => t("Vocabulary ID"),
- 'description' => t("The unique ID of the vocabulary the term belongs to."),
- );
$term['name'] = array(
'name' => t("Name"),
'description' => t("The name of the taxonomy term."),
@@ -106,10 +102,6 @@ function taxonomy_tokens($type, $tokens, array $data = array(), array $options =
$replacements[$original] = $term->tid;
break;
- case 'vid':
- $replacements[$original] = $term->vid;
- break;
-
case 'name':
$replacements[$original] = $sanitize ? check_plain($term->name) : $term->name;
break;