From 396f2db3ec3bea43259f165bbc71aac9693ccafa Mon Sep 17 00:00:00 2001 From: Hagen <hagen.dressler@mni.thm.de> Date: Thu, 8 Mar 2018 00:33:23 +0100 Subject: [PATCH] Remove constructor from model comment --- src/app/comment.ts | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/app/comment.ts b/src/app/comment.ts index 80899ed0d..d16510a5b 100644 --- a/src/app/comment.ts +++ b/src/app/comment.ts @@ -6,14 +6,4 @@ export class Comment { body: string; read: boolean; creationTimestamp: Date; - - constructor(id: string, roomId: string, subject: string, body: string, creationTimestamp: Date) { - this.id = id; - this.roomId = roomId; - this.revision = null; - this.subject = subject; - this.body = body; - this.read = false; - this.creationTimestamp = creationTimestamp; - } } -- GitLab