Remove some unused globals.
authorChad Horohoe <demon@users.mediawiki.org>
Tue, 4 Nov 2008 02:53:47 +0000 (02:53 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Tue, 4 Nov 2008 02:53:47 +0000 (02:53 +0000)
includes/ChangesFeed.php
includes/specials/SpecialRevisiondelete.php

index aab2b4e..f3c3e42 100644 (file)
@@ -20,7 +20,7 @@ class ChangesFeed {
 
        public function execute( $feed, $rows, $limit = 0 , $hideminor = false, $lastmod = false ) {
                global $messageMemc, $wgFeedCacheTimeout;
-               global $wgFeedClasses, $wgTitle, $wgSitename, $wgContLanguageCode;
+               global $wgFeedClasses, $wgSitename, $wgContLanguageCode;
 
                if ( !FeedUtils::checkFeedOutput( $this->format ) ) {
                        return;
index 2fa91ae..7ab45d0 100644 (file)
@@ -606,7 +606,7 @@ class RevisionDeleteForm {
         * @returns string
         */
        private function archivedfileLine( $file ) {
-               global $wgLang, $wgTitle;
+               global $wgLang;
 
                $target = $this->page->getPrefixedText();
                $date = $wgLang->timeanddate( $file->getTimestamp(), true  );