From: Aaron Schulz Date: Tue, 7 Oct 2008 02:22:37 +0000 (+0000) Subject: Tweak r41788 - Use findFile() to check current version if $time given X-Git-Tag: 1.31.0-rc.0~44856 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=56fac0c47d9edcd66774d3e5671c8fc7eba60f9b;p=lhc%2Fweb%2Fwiklou.git Tweak r41788 - Use findFile() to check current version if $time given --- diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 6546c9f4c3..0c25e05c3d 100644 --- 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()->newFile( $title, $time ); + return RepoGroup::singleton()->getLocalRepo()->findFile( $title, $time ); } /**