dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Expand the protocol for proto-relative links when printing"
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiQueryDuplicateFiles.php
diff --git
a/includes/api/ApiQueryDuplicateFiles.php
b/includes/api/ApiQueryDuplicateFiles.php
index
0311fa7
..
3105f91
100644
(file)
--- a/
includes/api/ApiQueryDuplicateFiles.php
+++ b/
includes/api/ApiQueryDuplicateFiles.php
@@
-95,7
+95,8
@@
class ApiQueryDuplicateFiles extends ApiQueryGeneratorBase {
$sha1s[$file->getName()] = $file->getSha1();
}
$sha1s[$file->getName()] = $file->getSha1();
}
- // find all files with the hashes, result format is: array( hash => array( dup1, dup2 ), hash1 => ... )
+ // find all files with the hashes, result format is:
+ // array( hash => array( dup1, dup2 ), hash1 => ... )
$filesToFindBySha1s = array_unique( array_values( $sha1s ) );
if ( $params['localonly'] ) {
$filesBySha1s = RepoGroup::singleton()->getLocalRepo()->findBySha1s( $filesToFindBySha1s );
$filesToFindBySha1s = array_unique( array_values( $sha1s ) );
if ( $params['localonly'] ) {
$filesBySha1s = RepoGroup::singleton()->getLocalRepo()->findBySha1s( $filesToFindBySha1s );
@@
-199,7
+200,7
@@
class ApiQueryDuplicateFiles extends ApiQueryGeneratorBase {
}
public function getDescription() {
}
public function getDescription() {
- return 'List all files that are duplicates of the given file(s) based on hash values';
+ return 'List all files that are duplicates of the given file(s) based on hash values
.
';
}
public function getExamples() {
}
public function getExamples() {