From: Kunal Mehta Date: Wed, 24 May 2017 03:42:14 +0000 (-0700) Subject: skins: Avoid deprecated wfMemcKey() X-Git-Tag: 1.31.0-rc.0~3159 X-Git-Url: http://git.cyclocoop.org/data/%24oldEdit?a=commitdiff_plain;h=b3a66156d9cf9265198a4565e4f58499c7526465;p=lhc%2Fweb%2Fwiklou.git skins: Avoid deprecated wfMemcKey() Change-Id: Id31998b365f486a651341563c0b16a358ce2b31d --- diff --git a/includes/skins/Skin.php b/includes/skins/Skin.php index 1836661933..ccb202e65a 100644 --- a/includes/skins/Skin.php +++ b/includes/skins/Skin.php @@ -1507,7 +1507,7 @@ abstract class Skin extends ContextSource { } // Use the extra hash appender to let eg SSL variants separately cache. - $key = wfMemcKey( $name . $wgRenderHashAppend ); + $key = $parserMemc->makeKey( $name . $wgRenderHashAppend ); $cachedNotice = $parserMemc->get( $key ); if ( is_array( $cachedNotice ) ) { if ( md5( $notice ) == $cachedNotice['hash'] ) {