Index: trunk/phase3/includes/ImagePage.php |
— | — | @@ -788,8 +788,6 @@ |
789 | 789 | * Delete the file, or an earlier version of it |
790 | 790 | */ |
791 | 791 | public function delete() { |
792 | | - global $wgUploadMaintenance; |
793 | | - |
794 | 792 | $file = $this->mPage->getFile(); |
795 | 793 | if ( !$file->exists() || !$file->isLocal() || $file->getRedirected() ) { |
796 | 794 | // Standard article deletion |