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: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/%7B%7B%20url_for%28%27vote%27%2C%20idvote=vote.voteid%29%20%7D%7D?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 ); } /**