From: Chad Horohoe Date: Fri, 3 Jun 2011 04:22:14 +0000 (+0000) Subject: Fix for r85229: getOutput() instead of getOut(), leftover $wgOut usage. X-Git-Tag: 1.31.0-rc.0~29752 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=ebff6207a70231adaecc727f696632607700b92a;p=lhc%2Fweb%2Fwiklou.git Fix for r85229: getOutput() instead of getOut(), leftover $wgOut usage. --- diff --git a/includes/specials/SpecialNewpages.php b/includes/specials/SpecialNewpages.php index 81be335cbc..a0825b3c1b 100644 --- a/includes/specials/SpecialNewpages.php +++ b/includes/specials/SpecialNewpages.php @@ -379,12 +379,12 @@ class SpecialNewpages extends IncludableSpecialPage { global $wgFeed, $wgFeedClasses, $wgFeedLimit; if ( !$wgFeed ) { - $wgOut->addWikiMsg( 'feed-unavailable' ); + $this->getOutput()->addWikiMsg( 'feed-unavailable' ); return; } if( !isset( $wgFeedClasses[$type] ) ) { - $this->getOut()->addWikiMsg( 'feed-invalid' ); + $this->getOutput()->addWikiMsg( 'feed-invalid' ); return; }