summaryrefslogtreecommitdiff
path: root/modules/system/system.tokens.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-06-29 00:57:19 +0000
committerDries Buytaert <dries@buytaert.net>2010-06-29 00:57:19 +0000
commitb6c0d1ab208af3cd16316324f54d2e10875b5286 (patch)
treef569d6bf46c680a867e5c838b91be00659a32265 /modules/system/system.tokens.inc
parentcbfdd2e9c7bc67f374ecb434369111d630399fea (diff)
downloadbrdo-b6c0d1ab208af3cd16316324f54d2e10875b5286.tar.gz
brdo-b6c0d1ab208af3cd16316324f54d2e10875b5286.tar.bz2
- Patch #831914 by Dave Reid: removed redundant/duplicate [node:uid], [comment:uid], and [file:uid] tokens.
Diffstat (limited to 'modules/system/system.tokens.inc')
-rw-r--r--modules/system/system.tokens.inc8
1 files changed, 0 insertions, 8 deletions
diff --git a/modules/system/system.tokens.inc b/modules/system/system.tokens.inc
index 501ab8fd5..39c326f0e 100644
--- a/modules/system/system.tokens.inc
+++ b/modules/system/system.tokens.inc
@@ -89,10 +89,6 @@ function system_token_info() {
'name' => t("File ID"),
'description' => t("The unique ID of the uploaded file."),
);
- $file['uid'] = array(
- 'name' => t("User ID"),
- 'description' => t("The unique ID of the user who owns the file."),
- );
$file['name'] = array(
'name' => t("File name"),
'description' => t("The name of the file on disk."),
@@ -237,10 +233,6 @@ function system_tokens($type, $tokens, array $data = array(), array $options = a
$replacements[$original] = $file->fid;
break;
- case 'uid':
- $replacements[$original] = $file->uid;
- break;
-
// Essential file data
case 'name':
$replacements[$original] = $sanitize ? check_plain($file->filename) : $file->filename;