dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "Improve changePassword.php error handling"
[lhc/web/wiklou.git]
/
includes
/
filerepo
/
file
/
ArchivedFile.php
diff --git
a/includes/filerepo/file/ArchivedFile.php
b/includes/filerepo/file/ArchivedFile.php
index
4a84cff
..
6a3e819
100644
(file)
--- a/
includes/filerepo/file/ArchivedFile.php
+++ b/
includes/filerepo/file/ArchivedFile.php
@@
-169,7
+169,7
@@
class ArchivedFile {
$conds['fa_sha1'] = $this->sha1;
}
- if (
!count( $conds )
) {
+ if (
$conds === []
) {
throw new MWException( "No specific information for retrieving archived file" );
}