Revert r41788 and make flaggedrevs do the findFile call itself
authorAaron Schulz <aaron@users.mediawiki.org>
Tue, 7 Oct 2008 21:42:23 +0000 (21:42 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Tue, 7 Oct 2008 21:42:23 +0000 (21:42 +0000)
includes/GlobalFunctions.php

index 6546c9f..4c527c8 100644 (file)
@@ -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 );
 }
 
 /**