Clean up ObjectCache calls

Change-Id: Idfef24864a9a33417d755ca14ff3ecbce02817c8
This commit is contained in:
Aaron Schulz 2016-10-11 14:35:26 -07:00
parent 59d2ae0ae4
commit 0309113bd9

View file

@ -64,7 +64,7 @@ class AbuseFilterTokenizer {
static $tokenizerCache = null;
if ( !$tokenizerCache ) {
$tokenizerCache = ObjectCache::newAccelerator( array(), 'hash' );
$tokenizerCache = ObjectCache::getLocalServerInstance( 'hash' );
}
static $stats = null;