mirror of
https://github.com/nextcloud/server.git
synced 2026-05-25 02:34:12 -04:00
Merge pull request #51061 from nextcloud/backport/51050/stable30
[stable30] fix: Report duplicated extra files in integrity check
This commit is contained in:
commit
07f3a855c6
1 changed files with 2 additions and 2 deletions
|
|
@ -333,8 +333,8 @@ class Checker {
|
|||
|
||||
// Compare the list of files which are not identical
|
||||
$currentInstanceHashes = $this->generateHashes($this->getFolderIterator($basePath), $basePath);
|
||||
$differencesA = array_diff($expectedHashes, $currentInstanceHashes);
|
||||
$differencesB = array_diff($currentInstanceHashes, $expectedHashes);
|
||||
$differencesA = array_diff_assoc($expectedHashes, $currentInstanceHashes);
|
||||
$differencesB = array_diff_assoc($currentInstanceHashes, $expectedHashes);
|
||||
$differences = array_unique(array_merge($differencesA, $differencesB));
|
||||
$differenceArray = [];
|
||||
foreach ($differences as $filename => $hash) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue