From 7a4ea932461f228ae44a173ddcd48ffb088aa023 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 10 Nov 2020 14:41:20 +0100 Subject: Remove deprecated abuse api --- shared/models/moderation/abuse/abuse-create.model.ts | 8 -------- shared/models/moderation/abuse/abuse.model.ts | 12 ------------ 2 files changed, 20 deletions(-) (limited to 'shared/models/moderation') diff --git a/shared/models/moderation/abuse/abuse-create.model.ts b/shared/models/moderation/abuse/abuse-create.model.ts index b0358dbb9..0e7e9587f 100644 --- a/shared/models/moderation/abuse/abuse-create.model.ts +++ b/shared/models/moderation/abuse/abuse-create.model.ts @@ -19,11 +19,3 @@ export interface AbuseCreate { id: number } } - -// FIXME: deprecated in 2.3. Remove it -export interface VideoAbuseCreate { - reason: string - predefinedReasons?: AbusePredefinedReasonsString[] - startAt?: number - endAt?: number -} diff --git a/shared/models/moderation/abuse/abuse.model.ts b/shared/models/moderation/abuse/abuse.model.ts index 781870b1a..6048777ff 100644 --- a/shared/models/moderation/abuse/abuse.model.ts +++ b/shared/models/moderation/abuse/abuse.model.ts @@ -60,18 +60,6 @@ export interface AdminAbuse { countReportsForReportee?: number countMessages: number - - // FIXME: deprecated in 2.3, remove the following properties - - // @deprecated - startAt?: null - // @deprecated - endAt?: null - - // @deprecated - count?: number - // @deprecated - nth?: number } export type UserVideoAbuse = Omit -- cgit v1.2.3