X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialFileDuplicateSearch.php;h=f047e1f8bbf3f971c8f6a30b1d62d9bc0e358eda;hb=bfff8c74ffe8e559299dfc1428ea12fcc69eb904;hp=98f60723e3895a9a404e40fcdba40719e6f9a968;hpb=9c0eeb1a2d985f77134385975bf611ddc2bb8c7b;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialFileDuplicateSearch.php b/includes/specials/SpecialFileDuplicateSearch.php index 98f60723e3..f047e1f8bb 100644 --- a/includes/specials/SpecialFileDuplicateSearch.php +++ b/includes/specials/SpecialFileDuplicateSearch.php @@ -1,4 +1,5 @@ hash = ''; $title = Title::newFromText( $this->filename, NS_FILE ); if ( $title && $title->getText() != '' ) { - $this->file = wfFindFile( $title ); + $this->file = MediaWikiServices::getInstance()->getRepoGroup()->findFile( $title ); } $out = $this->getOutput();