mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-23 21:53:35 +00:00
Clean up ObjectCache calls
Change-Id: Idfef24864a9a33417d755ca14ff3ecbce02817c8
This commit is contained in:
parent
59d2ae0ae4
commit
0309113bd9
|
@ -64,7 +64,7 @@ class AbuseFilterTokenizer {
|
|||
static $tokenizerCache = null;
|
||||
|
||||
if ( !$tokenizerCache ) {
|
||||
$tokenizerCache = ObjectCache::newAccelerator( array(), 'hash' );
|
||||
$tokenizerCache = ObjectCache::getLocalServerInstance( 'hash' );
|
||||
}
|
||||
|
||||
static $stats = null;
|
||||
|
|
Loading…
Reference in a new issue