From 0944b7d39c1ec5e27cd504869a196b0ada6b013e Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Tue, 23 May 2017 15:01:34 -0700 Subject: [PATCH] AuthManager: Avoid deprecated wfMemcKey() Change-Id: I254f9c057b8a151c593054dd4f2137586abf262a --- includes/auth/AuthManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.20.1