summaryrefslogtreecommitdiff
path: root/modules/user/user.tokens.inc
diff options
context:
space:
mode:
Diffstat (limited to 'modules/user/user.tokens.inc')
-rw-r--r--modules/user/user.tokens.inc1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/user/user.tokens.inc b/modules/user/user.tokens.inc
index d6fe22d37..70d4914d5 100644
--- a/modules/user/user.tokens.inc
+++ b/modules/user/user.tokens.inc
@@ -63,7 +63,6 @@ function user_token_info() {
* Implements hook_tokens().
*/
function user_tokens($type, $tokens, array $data = array(), array $options = array()) {
- global $user;
$url_options = array('absolute' => TRUE);
if (isset($options['language'])) {
$url_options['language'] = $options['language'];