From cd765551061f2666dcdd979296ffd611259176b9 Mon Sep 17 00:00:00 2001 From: Platonides Date: Fri, 30 Mar 2012 00:06:58 +0200 Subject: [PATCH] Unneeded globals after e2ee009e5 (aka. r114233) Change-Id: I2ee0f3946e2b584db9952926900d425b8af1dd3b --- includes/User.php | 1 - 1 file changed, 1 deletion(-) diff --git a/includes/User.php b/includes/User.php index 42c58ab6c5..105e011fab 100644 --- a/includes/User.php +++ b/includes/User.php @@ -2041,7 +2041,6 @@ class User { * @param $token String|bool If specified, set the token to this value */ public function setToken( $token = false ) { - global $wgSecretKey, $wgProxyKey; $this->load(); if ( !$token ) { $this->mToken = MWCryptRand::generateHex( USER_TOKEN_LENGTH ); -- 2.20.1