From 86d2975346f79a7c792370cd73e721d8be9ccb57 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Mon, 17 Mar 2008 19:57:31 +0000 Subject: [PATCH] File should still count as existing if hidden --- includes/filerepo/LocalFile.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/includes/filerepo/LocalFile.php b/includes/filerepo/LocalFile.php index 60b60d482a..87f2e4302d 100644 --- a/includes/filerepo/LocalFile.php +++ b/includes/filerepo/LocalFile.php @@ -236,13 +236,7 @@ class LocalFile extends File $this->$name = $value; } $this->fileExists = true; - // Check if the file is hidden... - if( $this->isDeleted(File::DELETED_FILE) ) { - $this->fileExists = false; // treat as not existing - } else { - // Check for rows from a previous schema, quietly upgrade them - $this->maybeUpgradeRow(); - } + $this->maybeUpgradeRow(); } /** -- 2.20.1