mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-12-18 02:40:50 +00:00
Merge "SeenTime: Actually use an in-process cache"
This commit is contained in:
commit
4786e85782
|
@ -56,7 +56,7 @@ class SeenTime {
|
||||||
'Either $wgEchoSeenTimeCacheType or $wgMainStash must be set'
|
'Either $wgEchoSeenTimeCacheType or $wgMainStash must be set'
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
return new CachedBagOStuff( $services->getObjectCacheFactory()->getInstance( $cacheConfig ) );
|
$wrappedCache = new CachedBagOStuff( $services->getObjectCacheFactory()->getInstance( $cacheConfig ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
return $wrappedCache;
|
return $wrappedCache;
|
||||||
|
|
Loading…
Reference in a new issue