From: Alexandre Emsenhuber Date: Wed, 16 Nov 2011 13:17:53 +0000 (+0000) Subject: Follow-up r103202: removed unused global declaration X-Git-Tag: 1.31.0-rc.0~26475 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=b63ef8b4dea4ac11fbc17d92b81727be74c3aeb2;p=lhc%2Fweb%2Fwiklou.git Follow-up r103202: removed unused global declaration --- diff --git a/includes/ImagePage.php b/includes/ImagePage.php index 0fbca0cc58..034722ba60 100644 --- a/includes/ImagePage.php +++ b/includes/ImagePage.php @@ -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