Remove unused globals
authoraddshore <addshorewiki@gmail.com>
Sun, 26 Jan 2014 18:59:23 +0000 (19:59 +0100)
committerBartosz Dziewoński <matma.rex@gmail.com>
Sun, 26 Jan 2014 19:51:45 +0000 (20:51 +0100)
Change-Id: Id1c27653650f1d60892a9fddf4f6fa5dd534615f

includes/specials/SpecialWatchlist.php

index aef50c0..519b6c2 100644 (file)
@@ -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 );