X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiQueryDuplicateFiles.php;h=3105f91abefd0f61c8d72cca3c3aaf79b0312692;hb=a5ee223cde679dece81f9c038e9fb43ddd937410;hp=0311fa7fec20cff4b6766580d98a105a94db8bbc;hpb=331bcf6ac9a5df389a0196ee71418d7620d34278;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiQueryDuplicateFiles.php b/includes/api/ApiQueryDuplicateFiles.php index 0311fa7fec..3105f91abe 100644 --- a/includes/api/ApiQueryDuplicateFiles.php +++ b/includes/api/ApiQueryDuplicateFiles.php @@ -95,7 +95,8 @@ class ApiQueryDuplicateFiles extends ApiQueryGeneratorBase { $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 ); @@ -199,7 +200,7 @@ class ApiQueryDuplicateFiles extends ApiQueryGeneratorBase { } 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() {