X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiQueryDuplicateFiles.php;h=02b7883d7b4df8e2413a036d79c5d97c55aef322;hb=872dc01de3bfae0db3f952b75b95d98beb47449e;hp=ae93bb1b4a13564c08741f237462bf20f73e3bf0;hpb=58cb1f824ac75c3b58ba19d1e88c1b38f9dc1fab;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiQueryDuplicateFiles.php b/includes/api/ApiQueryDuplicateFiles.php index ae93bb1b4a..02b7883d7b 100644 --- a/includes/api/ApiQueryDuplicateFiles.php +++ b/includes/api/ApiQueryDuplicateFiles.php @@ -96,7 +96,7 @@ class ApiQueryDuplicateFiles extends ApiQueryGeneratorBase { } // find all files with the hashes, result format is: - // array( hash => array( dup1, dup2 ), hash1 => ... ) + // [ hash => [ dup1, dup2 ], hash1 => ... ] $filesToFindBySha1s = array_unique( array_values( $sha1s ) ); if ( $params['localonly'] ) { $filesBySha1s = RepoGroup::singleton()->getLocalRepo()->findBySha1s( $filesToFindBySha1s );