mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-11 17:00:10 +00:00
Use ObjectCacheFactory instead of ObjectCache method
Bug: T363770 Change-Id: I685ee42b11fab3bb56810af65a1334573d16da8a
This commit is contained in:
parent
1ebe4aa8e4
commit
231ce97335
|
@ -13,7 +13,7 @@ use WANObjectCache;
|
|||
* from multiple sources like global variables, wiki pages, etc.
|
||||
*
|
||||
* Initialize:
|
||||
* $cache = ObjectCache::getLocalClusterInstance();
|
||||
* $cache = ObjectCacheFactory::getLocalClusterInstance();
|
||||
* $set = new ContainmentSet;
|
||||
* $set->addArray( $wgSomeGlobalParameter );
|
||||
* $set->addOnWiki( NS_USER, 'Foo/bar-baz', $cache, 'some_user_specific_cache_key' );
|
||||
|
|
Loading…
Reference in a new issue