Legoktm has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/355647 )

Change subject: wfIsBadImage: Avoid deprecated wfMemcKey()
......................................................................

wfIsBadImage: Avoid deprecated wfMemcKey()

Change-Id: I92133ed6a94902bdac2e9723f19a653a9962b757
---
M includes/GlobalFunctions.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/47/355647/1

diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php
index 1859c02..c529faa 100644
--- a/includes/GlobalFunctions.php
+++ b/includes/GlobalFunctions.php
@@ -3515,7 +3515,7 @@
        }
 
        $cache = ObjectCache::getLocalServerInstance( 'hash' );
-       $key = wfMemcKey( 'bad-image-list', ( $blacklist === null ) ? 'default' 
: md5( $blacklist ) );
+       $key = $cache->makeKey( 'bad-image-list', ( $blacklist === null ) ? 
'default' : md5( $blacklist ) );
        $badImages = $cache->get( $key );
 
        if ( $badImages === false ) { // cache miss

-- 
To view, visit https://gerrit.wikimedia.org/r/355647
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I92133ed6a94902bdac2e9723f19a653a9962b757
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to