From: Aaron Schulz Date: Tue, 7 Oct 2008 21:42:23 +0000 (+0000) Subject: Revert r41788 and make flaggedrevs do the findFile call itself X-Git-Tag: 1.31.0-rc.0~44847 X-Git-Url: http://git.cyclocoop.org/?a=commitdiff_plain;h=59ba5e575b4060684ebd114c3e7223ed4fa54478;p=lhc%2Fweb%2Fwiklou.git Revert r41788 and make flaggedrevs do the findFile call itself --- diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 6546c9f4c3..4c527c8115 100644 --- 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, $time = false ) { - return RepoGroup::singleton()->getLocalRepo()->newFile( $title, $time ); +function wfLocalFile( $title ) { + return RepoGroup::singleton()->getLocalRepo()->newFile( $title ); } /**