r36427 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r36426‎ | r36427 | r36428 >
Date:16:52, 18 June 2008
Author:demon
Status:old
Tags:
Comment:
A few useless require()'s lying around.
Modified paths:
  • /trunk/phase3/includes/specials/Newpages.php (modified) (history)
  • /trunk/phase3/includes/specials/Watchlist.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/Newpages.php
@@ -267,7 +267,6 @@
268268 * @param string $type
269269 */
270270 protected function feed( $type ) {
271 - require_once('Recentchanges.php');
272271 global $wgFeed, $wgFeedClasses;
273272
274273 if ( !$wgFeed ) {
Index: trunk/phase3/includes/specials/Watchlist.php
@@ -4,8 +4,6 @@
55 * @ingroup SpecialPage Watchlist
66 */
77
8 -require_once( dirname(__FILE__) . '/Recentchanges.php' );
9 -
108 /**
119 * Constructor
1210 *

Status & tagging log