From 59ba5e575b4060684ebd114c3e7223ed4fa54478 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Tue, 7 Oct 2008 21:42:23 +0000 Subject: [PATCH] Revert r41788 and make flaggedrevs do the findFile call itself --- includes/GlobalFunctions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ); } /** -- 2.20.1