dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e45e54c
)
Unneeded globals after e2ee009e5 (aka. r114233)
author
Platonides
<platonides@gmail.com>
Thu, 29 Mar 2012 22:06:58 +0000
(
00:06
+0200)
committer
Platonides
<platonides@gmail.com>
Thu, 29 Mar 2012 22:09:14 +0000
(
00:09
+0200)
Change-Id: I2ee0f3946e2b584db9952926900d425b8af1dd3b
includes/User.php
patch
|
blob
|
history
diff --git
a/includes/User.php
b/includes/User.php
index
42c58ab
..
105e011
100644
(file)
--- 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 );