From: addshore Date: Sun, 26 Jan 2014 18:59:23 +0000 (+0100) Subject: Remove unused globals X-Git-Tag: 1.31.0-rc.0~17135^2 X-Git-Url: http://git.cyclocoop.org/%22.%28%24lien.?a=commitdiff_plain;h=97925bfa4dae1e8af1430dc2423fd44dfdafcb1c;p=lhc%2Fweb%2Fwiklou.git Remove unused globals Change-Id: Id1c27653650f1d60892a9fddf4f6fa5dd534615f --- diff --git a/includes/specials/SpecialWatchlist.php b/includes/specials/SpecialWatchlist.php index aef50c04dc..519b6c2653 100644 --- a/includes/specials/SpecialWatchlist.php +++ b/includes/specials/SpecialWatchlist.php @@ -41,7 +41,7 @@ class SpecialWatchlist extends ChangesListSpecialPage { * @param string $subpage */ function execute( $subpage ) { - global $wgRCShowWatchingUsers, $wgEnotifWatchlist, $wgShowUpdatedMarker; + global $wgEnotifWatchlist, $wgShowUpdatedMarker; // Anons don't get a watchlist $this->requireLogin( 'watchlistanontext' ); @@ -388,8 +388,6 @@ class SpecialWatchlist extends ChangesListSpecialPage { * @return string XHTML */ public function doHeader( $opts ) { - global $wgScript; - $user = $this->getUser(); $this->setTopText( $opts );