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:
ccc8f76
)
Add handy $time parameter to wfLocalFile()
author
Aaron Schulz
<aaron@users.mediawiki.org>
Tue, 7 Oct 2008 00:30:18 +0000
(
00:30
+0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Tue, 7 Oct 2008 00:30:18 +0000
(
00:30
+0000)
includes/GlobalFunctions.php
patch
|
blob
|
history
diff --git
a/includes/GlobalFunctions.php
b/includes/GlobalFunctions.php
index
4c527c8
..
6546c9f
100644
(file)
--- a/
includes/GlobalFunctions.php
+++ b/
includes/GlobalFunctions.php
@@
-2790,8
+2790,8
@@
function wfFindFile( $title, $time = false, $flags = 0 ) {
* Get an object referring to a locally registered file.
* Returns a valid placeholder object if the file does not exist.
*/
-function wfLocalFile( $title ) {
- return RepoGroup::singleton()->getLocalRepo()->newFile( $title );
+function wfLocalFile( $title
, $time = false
) {
+ return RepoGroup::singleton()->getLocalRepo()->newFile( $title
, $time
);
}
/**