r61538 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r61537‎ | r61538 | r61539 >
Date:20:52, 26 January 2010
Author:ialex
Status:ok
Tags:
Comment:
And while I'm at it: removed unused global declarations of $wgFeedClasses
Modified paths:
  • /trunk/phase3/includes/OutputPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/OutputPage.php
@@ -410,7 +410,7 @@
411411 * default links
412412 */
413413 public function setFeedAppendQuery( $val ) {
414 - global $wgFeedClasses, $wgAdvertisedFeedTypes;
 414+ global $wgAdvertisedFeedTypes;
415415
416416 $this->mFeedLinks = array();
417417
@@ -1846,7 +1846,7 @@
18471847 # or "Breaking news" one). For this, we see if $wgOverrideSiteFeed is defined.
18481848 # If so, use it instead.
18491849
1850 - global $wgOverrideSiteFeed, $wgSitename, $wgFeedClasses, $wgAdvertisedFeedTypes;
 1850+ global $wgOverrideSiteFeed, $wgSitename, $wgAdvertisedFeedTypes;
18511851 $rctitle = SpecialPage::getTitleFor( 'Recentchanges' );
18521852
18531853 if ( $wgOverrideSiteFeed ) {

Status & tagging log