mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-24 08:23:52 +00:00
Merge "Replace use of deprecated OutputPage::enableClientCache( false )"
This commit is contained in:
commit
8bcaf75372
|
@ -242,7 +242,7 @@ class PageHooks implements
|
||||||
|
|
||||||
$output = $context->getOutput();
|
$output = $context->getOutput();
|
||||||
$output->enableOOUI();
|
$output->enableOOUI();
|
||||||
$output->enableClientCache( false );
|
$output->disableClientCache();
|
||||||
|
|
||||||
$coreConfig = RequestContext::getMain()->getConfig();
|
$coreConfig = RequestContext::getMain()->getConfig();
|
||||||
$iconpath = $coreConfig->get( 'ExtensionAssetsPath' ) . '/DiscussionTools/images';
|
$iconpath = $coreConfig->get( 'ExtensionAssetsPath' ) . '/DiscussionTools/images';
|
||||||
|
|
Loading…
Reference in a new issue