array_merge(array("dir" => $dir, "files" => $files), $storageStats))); } else { OCP\JSON::error(array("data" => array_merge(array("message" => "Could not delete:\n" . $filesWithError), $storageStats))); }