mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/SyntaxHighlight_GeSHi
synced 2024-11-15 18:49:22 +00:00
Use wfGlobalCacheKey()
Change-Id: I62666265e297b5dbcccaa1a64a07bb7bd01b89c4
This commit is contained in:
parent
f36b6c66d3
commit
9815331195
|
@ -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 ) {
|
||||
|
|
Loading…
Reference in a new issue