Follow-up r103202: removed unused global declaration
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Wed, 16 Nov 2011 13:17:53 +0000 (13:17 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Wed, 16 Nov 2011 13:17:53 +0000 (13:17 +0000)
includes/ImagePage.php

index 0fbca0c..034722b 100644 (file)
@@ -788,8 +788,6 @@ EOT
         * Delete the file, or an earlier version of it
         */
        public function delete() {
-               global $wgUploadMaintenance;
-
                $file = $this->mPage->getFile();
                if ( !$file->exists() || !$file->isLocal() || $file->getRedirected() ) {
                        // Standard article deletion