Use ObjectCacheFactory instead of ObjectCache method

Bug: T363770
Change-Id: I685ee42b11fab3bb56810af65a1334573d16da8a
This commit is contained in:
Wandji69 2024-06-26 10:17:13 +01:00
parent 1ebe4aa8e4
commit 231ce97335

View file

@ -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' );