Deprecate $wgMemc
Callers should use the LocalServerObjectCache service instead. Bug: T160813 Change-Id: I0f9725a56413b85929f920542bf89928e719baac
This commit is contained in:
parent
c1b445c44c
commit
82b56e50e8
2 changed files with 6 additions and 0 deletions
|
|
@ -288,6 +288,8 @@ because of Phabricator reports.
|
|||
* As part of dropping security support for IE 6 and IE 7,
|
||||
WebRequest::checkUrlExtension() has been deprecated, and now always returns
|
||||
true.
|
||||
* $wgMemc is deprecated, use
|
||||
MediaWikiServices::getInstance()->getLocalServerObjectCache() instead.
|
||||
* …
|
||||
|
||||
=== Other changes in 1.35 ===
|
||||
|
|
|
|||
|
|
@ -749,6 +749,10 @@ if ( $wgCommandLineMode ) {
|
|||
wfDebug( $debug );
|
||||
}
|
||||
|
||||
/**
|
||||
* @var BagOStuff $wgMemc
|
||||
* @deprecated since 1.35, use the LocalServerObjectCache service instead
|
||||
*/
|
||||
$wgMemc = ObjectCache::getLocalClusterInstance();
|
||||
$messageMemc = wfGetMessageCacheStorage();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue