diff --git a/lib/private/Files/Cache/Scanner.php b/lib/private/Files/Cache/Scanner.php index 86876f6ce7b50..78d8dd9ea7163 100644 --- a/lib/private/Files/Cache/Scanner.php +++ b/lib/private/Files/Cache/Scanner.php @@ -418,11 +418,6 @@ protected function array_diff_assoc_multi($array1, $array2) { $result[$key] = $nestedDiff; continue; } - } else { // not an array - if ($array2[$key] != $value) { - $result[$key] = $value; - continue; - } } } return $result;