Delete refs to variable removed in r59692
[lhc/web/wiklou.git] / thumb.php
index 6c8dcbf..b973cc6 100644 (file)
--- a/thumb.php
+++ b/thumb.php
@@ -62,7 +62,7 @@ function wfThumbMain() {
                }
                $img = RepoGroup::singleton()->getLocalRepo()->newFromArchiveName( $title, $fileName );
        } else {
-               $img = RepoGroup::singleton()->getLocalRepo()->findFile( $fileName );
+               $img = wfLocalFile( $fileName );
        }
 
        if ( !$img ) {