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:
2007e70
)
Tweaked FileRepo::findFiles() behavoir to match LocalRepo
author
Aaron Schulz
<aschulz@wikimedia.org>
Fri, 6 Dec 2013 21:31:35 +0000
(13:31 -0800)
committer
Brian Wolff
<bawolff+wn@gmail.com>
Wed, 11 Dec 2013 17:46:23 +0000
(10:46 -0700)
* This seems more intuitive and deals with an API bug
bug: 45930
Change-Id: I5e265bb9c6063306669cc4014eeb17cfda86436b
includes/filerepo/FileRepo.php
patch
|
blob
|
history
diff --git
a/includes/filerepo/FileRepo.php
b/includes/filerepo/FileRepo.php
index
f834be5
..
f1d3499
100644
(file)
--- a/
includes/filerepo/FileRepo.php
+++ b/
includes/filerepo/FileRepo.php
@@
-493,7
+493,7
@@
class FileRepo {
}
$file = $this->findFile( $title, $options );
if ( $file ) {
- $result[$
file->getTitle()
->getDBkey()] =
+ $result[$
title
->getDBkey()] =
( $flags & self::TIME_ONLY ) ? $file->getTimestamp() : $file;
}
}