dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea5b9cd
)
File should still count as existing if hidden
author
Aaron Schulz
<aaron@users.mediawiki.org>
Mon, 17 Mar 2008 19:57:31 +0000
(19:57 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Mon, 17 Mar 2008 19:57:31 +0000
(19:57 +0000)
includes/filerepo/LocalFile.php
patch
|
blob
|
history
diff --git
a/includes/filerepo/LocalFile.php
b/includes/filerepo/LocalFile.php
index
60b60d4
..
87f2e43
100644
(file)
--- 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();
}
/**