Jforrester has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/388141 )

Change subject: Replace OutputPage::setSquidMaxage with ::setCdnMaxage
......................................................................

Replace OutputPage::setSquidMaxage with ::setCdnMaxage

Renamed and deprecated in MediaWiki in f606fd8d since 1.27.

Change-Id: Ifd6db7910a71bb700484d6b588327424f11c00e0
---
M classes/Hooks.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/LiquidThreads 
refs/changes/41/388141/1

diff --git a/classes/Hooks.php b/classes/Hooks.php
index 6c9c3f1..98cf96d 100644
--- a/classes/Hooks.php
+++ b/classes/Hooks.php
@@ -97,7 +97,7 @@
                                ) {
                        $s = wfMessage( 'lqt_youhavenewmessages', 
$newmsg_t->getPrefixedText() )->parse();
                        $tpl->set( "newtalk", $s );
-                       $wgOut->setSquidMaxage( 0 );
+                       $wgOut->setCdnMaxage( 0 );
                } else {
                        $tpl->set( "newtalk", '' );
                }

-- 
To view, visit https://gerrit.wikimedia.org/r/388141
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifd6db7910a71bb700484d6b588327424f11c00e0
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/LiquidThreads
Gerrit-Branch: master
Gerrit-Owner: Jforrester <jforres...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to