Index: trunk/phase3/includes/GlobalFunctions.php |
— | — | @@ -2791,7 +2791,7 @@ |
2792 | 2792 | * Returns a valid placeholder object if the file does not exist. |
2793 | 2793 | */ |
2794 | 2794 | function wfLocalFile( $title, $time = false ) { |
2795 | | - return RepoGroup::singleton()->getLocalRepo()->newFile( $title, $time ); |
| 2795 | + return RepoGroup::singleton()->getLocalRepo()->findFile( $title, $time ); |
2796 | 2796 | } |
2797 | 2797 | |
2798 | 2798 | /** |