(bug 27567) Add file repo support to prop=duplicatefiles
authorumherirrender <umherirrender_de.wp@web.de>
Mon, 23 Jul 2012 16:45:38 +0000 (18:45 +0200)
committerumherirrender <umherirrender_de.wp@web.de>
Mon, 23 Jul 2012 16:45:38 +0000 (18:45 +0200)
commit6ef0901a4e75fb1118d6abe11fbed2374ffd29f7
tree8bd02d587e1623499898f8ed3f92715baed575bc
parent198a1a4dbda0fae34131e61fa7d18ab735c8c385
(bug 27567) Add file repo support to prop=duplicatefiles

This adds a new method findBySha1s to the FileRepo classes to support
the multiple hash search against all repos (with only one query for each
db repo).

Change-Id: I745cae7a1db3a32c20aa0067b744402fcf1a3122
RELEASE-NOTES-1.20
includes/api/ApiQueryDuplicateFiles.php
includes/filerepo/FileRepo.php
includes/filerepo/LocalRepo.php
includes/filerepo/RepoGroup.php