Unneeded globals after e2ee009e5 (aka. r114233)
authorPlatonides <platonides@gmail.com>
Thu, 29 Mar 2012 22:06:58 +0000 (00:06 +0200)
committerPlatonides <platonides@gmail.com>
Thu, 29 Mar 2012 22:09:14 +0000 (00:09 +0200)
Change-Id: I2ee0f3946e2b584db9952926900d425b8af1dd3b

includes/User.php

index 42c58ab..105e011 100644 (file)
@@ -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 );