summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
b0c56c7)
messageMemc is not used for anything important. Should be removed
soon, but at least don't reset it in tests. If something new depends
on it, it should fail.
Bug: T189966
Change-Id: Id707db028e6eba03242fc9e1541d785a607d9be9
}
protected function setUp() {
}
protected function setUp() {
- global $IP, $messageMemc, $wgMemc, $wgUser, $wgLang, $wgOut, $wgRequest, $wgStyleDirectory,
+ global $IP, $wgMemc, $wgUser, $wgLang, $wgOut, $wgRequest, $wgStyleDirectory,
$wgParserCacheType, $wgNamespaceAliases, $wgNamespaceProtection;
$tmpDir = $this->getNewTempDirectory();
$wgParserCacheType, $wgNamespaceAliases, $wgNamespaceProtection;
$tmpDir = $this->getNewTempDirectory();
$wgParserCacheType = CACHE_NONE;
DeferredUpdates::clearPendingUpdates();
$wgMemc = ObjectCache::getLocalClusterInstance();
$wgParserCacheType = CACHE_NONE;
DeferredUpdates::clearPendingUpdates();
$wgMemc = ObjectCache::getLocalClusterInstance();
- $messageMemc = wfGetMessageCacheStorage();
RequestContext::resetMain();
$context = RequestContext::getMain();
RequestContext::resetMain();
$context = RequestContext::getMain();