diff --git a/web/apps/photos/src/utils/upload/index.ts b/web/apps/photos/src/utils/upload/index.ts index ac05122aa..925d19b45 100644 --- a/web/apps/photos/src/utils/upload/index.ts +++ b/web/apps/photos/src/utils/upload/index.ts @@ -12,7 +12,6 @@ import { } from "types/upload"; const TYPE_JSON = "json"; -const DEDUPE_COLLECTION = new Set(["icloud library", "icloudlibrary"]); export function findMatchingExistingFiles( existingFiles: EnteFile[], @@ -27,11 +26,6 @@ export function findMatchingExistingFiles( return matchingFiles; } -export function shouldDedupeAcrossCollection(collectionName: string): boolean { - // using set to avoid unnecessary regex for removing spaces for each upload - return DEDUPE_COLLECTION.has(collectionName.toLocaleLowerCase()); -} - export function areFilesSame( existingFile: Metadata, newFile: Metadata,