r103320 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r103319‎ | r103320 | r103321 >
Date:13:17, 16 November 2011
Author:ialex
Status:ok
Tags:
Comment:
Follow-up r103202: removed unused global declaration
Modified paths:
  • /trunk/phase3/includes/ImagePage.php (modified) (history)

Diff [purge]

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

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r103202* Factorise common code in ImagePage::delete() and allow normal page deletion...ialex18:08, 15 November 2011

Status & tagging log