From: Kunal Mehta Date: Tue, 23 May 2017 22:01:34 +0000 (-0700) Subject: AuthManager: Avoid deprecated wfMemcKey() X-Git-Tag: 1.31.0-rc.0~3165 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=0944b7d39c1ec5e27cd504869a196b0ada6b013e;p=lhc%2Fweb%2Fwiklou.git AuthManager: Avoid deprecated wfMemcKey() Change-Id: I254f9c057b8a151c593054dd4f2137586abf262a --- diff --git a/includes/auth/AuthManager.php b/includes/auth/AuthManager.php index e9a6edc224..c3f798fd49 100644 --- a/includes/auth/AuthManager.php +++ b/includes/auth/AuthManager.php @@ -1660,7 +1660,7 @@ class AuthManager implements LoggerAwareInterface { } } - $backoffKey = wfMemcKey( 'AuthManager', 'autocreate-failed', md5( $username ) ); + $backoffKey = $cache->makeKey( 'AuthManager', 'autocreate-failed', md5( $username ) ); if ( $cache->get( $backoffKey ) ) { $this->logger->debug( __METHOD__ . ': {username} denied by prior creation attempt failures', [ 'username' => $username,