Jforrester has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/388137 )
Change subject: Replace OutputPage::setSquidMaxage with ::setCdnMaxage ...................................................................... Replace OutputPage::setSquidMaxage with ::setCdnMaxage Renamed and deprecated in MediaWiki in f606fd8d since 1.27. Change-Id: Ibba2f486f0ecb684ded7efb09f9942f5e0f5fd7a --- M includes/specials/SpecialCentralAutoLogin.php 1 file changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CentralAuth refs/changes/37/388137/1 diff --git a/includes/specials/SpecialCentralAutoLogin.php b/includes/specials/SpecialCentralAutoLogin.php index debcd2f..6b93784 100644 --- a/includes/specials/SpecialCentralAutoLogin.php +++ b/includes/specials/SpecialCentralAutoLogin.php @@ -225,7 +225,7 @@ case 'start': // Main entry point // Note this is safe to cache, because the cache already varies on // the session cookies. - $this->getOutput()->setSquidMaxage( 1200 ); + $this->getOutput()->setCdnMaxage( 1200 ); if ( !$this->checkIsLocalWiki() ) { return; @@ -244,7 +244,7 @@ case 'checkLoggedIn': // Check if we're logged in centrally // Note this is safe to cache, because the cache already varies on // the session cookies. - $this->getOutput()->setSquidMaxage( 1200 ); + $this->getOutput()->setCdnMaxage( 1200 ); if ( !$this->checkIsCentralWiki( $wikiid ) ) { return; -- To view, visit https://gerrit.wikimedia.org/r/388137 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ibba2f486f0ecb684ded7efb09f9942f5e0f5fd7a Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/CentralAuth 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