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:
41438a3
)
AuthManager: Avoid deprecated wfMemcKey()
author
Kunal Mehta
<legoktm@member.fsf.org>
Tue, 23 May 2017 22:01:34 +0000
(15:01 -0700)
committer
Kunal Mehta
<legoktm@member.fsf.org>
Tue, 23 May 2017 22:01:34 +0000
(15:01 -0700)
Change-Id: I254f9c057b8a151c593054dd4f2137586abf262a
includes/auth/AuthManager.php
patch
|
blob
|
history
diff --git
a/includes/auth/AuthManager.php
b/includes/auth/AuthManager.php
index
e9a6edc
..
c3f798f
100644
(file)
--- a/
includes/auth/AuthManager.php
+++ b/
includes/auth/AuthManager.php
@@
-1660,7
+1660,7
@@
class AuthManager implements LoggerAwareInterface {
}
}
- $backoffKey =
wfMemc
Key( 'AuthManager', 'autocreate-failed', md5( $username ) );
+ $backoffKey =
$cache->make
Key( 'AuthManager', 'autocreate-failed', md5( $username ) );
if ( $cache->get( $backoffKey ) ) {
$this->logger->debug( __METHOD__ . ': {username} denied by prior creation attempt failures', [
'username' => $username,