mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Scribunto
synced 2024-11-13 18:07:05 +00:00
Replace 'hash' with CACHE_HASH to improve discovery
Bug: T139216 Change-Id: Icd75953ccdb71543f3100f659fa32e1a1e7d1e26
This commit is contained in:
parent
e7542a6756
commit
796c3dddfd
|
@ -363,7 +363,7 @@ abstract class LuaEngine extends ScribuntoEngineBase {
|
||||||
static $cache = null;
|
static $cache = null;
|
||||||
|
|
||||||
if ( !$cache ) {
|
if ( !$cache ) {
|
||||||
$cache = ObjectCache::getLocalServerInstance( 'hash' );
|
$cache = ObjectCache::getLocalServerInstance( CACHE_HASH );
|
||||||
}
|
}
|
||||||
|
|
||||||
$mtime = filemtime( $fileName );
|
$mtime = filemtime( $fileName );
|
||||||
|
|
Loading…
Reference in a new issue