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:
3440234
)
Tweak r41788 - Use findFile() to check current version if $time given
author
Aaron Schulz
<aaron@users.mediawiki.org>
Tue, 7 Oct 2008 02:22:37 +0000
(
02:22
+0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Tue, 7 Oct 2008 02:22:37 +0000
(
02:22
+0000)
includes/GlobalFunctions.php
patch
|
blob
|
history
diff --git
a/includes/GlobalFunctions.php
b/includes/GlobalFunctions.php
index
6546c9f
..
0c25e05
100644
(file)
--- a/
includes/GlobalFunctions.php
+++ b/
includes/GlobalFunctions.php
@@
-2791,7
+2791,7
@@
function wfFindFile( $title, $time = false, $flags = 0 ) {
* Returns a valid placeholder object if the file does not exist.
*/
function wfLocalFile( $title, $time = false ) {
- return RepoGroup::singleton()->getLocalRepo()->
new
File( $title, $time );
+ return RepoGroup::singleton()->getLocalRepo()->
find
File( $title, $time );
}
/**