r32074 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r32073‎ | r32074 | r32075 >
Date:19:57, 17 March 2008
Author:aaron
Status:old
Tags:
Comment:
File should still count as existing if hidden
Modified paths:
  • /trunk/phase3/includes/filerepo/LocalFile.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/filerepo/LocalFile.php
@@ -236,13 +236,7 @@
237237 $this->$name = $value;
238238 }
239239 $this->fileExists = true;
240 - // Check if the file is hidden...
241 - if( $this->isDeleted(File::DELETED_FILE) ) {
242 - $this->fileExists = false; // treat as not existing
243 - } else {
244 - // Check for rows from a previous schema, quietly upgrade them
245 - $this->maybeUpgradeRow();
246 - }
 240+ $this->maybeUpgradeRow();
247241 }
248242
249243 /**

Status & tagging log