From: Chad Horohoe Date: Wed, 18 Jun 2008 16:52:46 +0000 (+0000) Subject: A few useless require()'s lying around. X-Git-Tag: 1.31.0-rc.0~46962 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=4799fe92b85f8bcb2fc8c6fdea85dd2d6d32deb5;p=lhc%2Fweb%2Fwiklou.git A few useless require()'s lying around. --- diff --git a/includes/specials/Newpages.php b/includes/specials/Newpages.php index 31463674f0..886eb446b2 100644 --- a/includes/specials/Newpages.php +++ b/includes/specials/Newpages.php @@ -267,7 +267,6 @@ class NewPagesForm { * @param string $type */ protected function feed( $type ) { - require_once('Recentchanges.php'); global $wgFeed, $wgFeedClasses; if ( !$wgFeed ) { diff --git a/includes/specials/Watchlist.php b/includes/specials/Watchlist.php index ebe5fd202c..4af22c7dff 100644 --- a/includes/specials/Watchlist.php +++ b/includes/specials/Watchlist.php @@ -4,8 +4,6 @@ * @ingroup SpecialPage Watchlist */ -require_once( dirname(__FILE__) . '/Recentchanges.php' ); - /** * Constructor *