Use wfGlobalCacheKey()

Change-Id: I62666265e297b5dbcccaa1a64a07bb7bd01b89c4
This commit is contained in:
Timo Tijhof 2015-06-23 08:08:48 +01:00
parent f36b6c66d3
commit 9815331195

View file

@ -196,7 +196,7 @@ class SyntaxHighlight_GeSHi {
}
$cache = wfGetMainCache();
$cacheKey = 'highlight:' . md5( json_encode( array( $lexer, $code, $options ) ) );
$cacheKey = wfGlobalCacheKey( 'highlight', md5( json_encode( array( $lexer, $code, $options ) ) ) );
$output = $cache->get( $cacheKey );
if ( $output === false ) {