From da1a63005679eb5e71e1b371d84bf45f3c06e903 Mon Sep 17 00:00:00 2001
From: "j.goderbauer" <j.goderbauer@adito.de>
Date: Thu, 31 Oct 2019 14:21:30 +0100
Subject: [PATCH] remove duplicate check (via comments) for 2019.3.1

---
 entity/Organisation_entity/recordcontainers/db/onDBDelete.js | 4 +++-
 entity/Person_entity/recordcontainers/db/onDBDelete.js       | 5 +++--
 entity/Person_entity/recordcontainers/db/onDBInsert.js       | 4 +++-
 3 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/entity/Organisation_entity/recordcontainers/db/onDBDelete.js b/entity/Organisation_entity/recordcontainers/db/onDBDelete.js
index 8bc517ecf83..8756c72bf59 100644
--- a/entity/Organisation_entity/recordcontainers/db/onDBDelete.js
+++ b/entity/Organisation_entity/recordcontainers/db/onDBDelete.js
@@ -1,5 +1,7 @@
 import("system.vars");
 import("DuplicateScanner_lib");
 
+/* TODO: enable when duplicate-module is finalized
 let contactId = vars.get("$field.CONTACTID");
-DuplicateScannerUtils.DeleteCachedDuplicate(contactId);
\ No newline at end of file
+DuplicateScannerUtils.DeleteCachedDuplicate(contactId);
+*/
\ No newline at end of file
diff --git a/entity/Person_entity/recordcontainers/db/onDBDelete.js b/entity/Person_entity/recordcontainers/db/onDBDelete.js
index 8bc517ecf83..bbf76c19074 100644
--- a/entity/Person_entity/recordcontainers/db/onDBDelete.js
+++ b/entity/Person_entity/recordcontainers/db/onDBDelete.js
@@ -1,5 +1,6 @@
 import("system.vars");
 import("DuplicateScanner_lib");
-
+/* TODO: enable when duplicate-module is finalized
 let contactId = vars.get("$field.CONTACTID");
-DuplicateScannerUtils.DeleteCachedDuplicate(contactId);
\ No newline at end of file
+DuplicateScannerUtils.DeleteCachedDuplicate(contactId);
+*/
\ No newline at end of file
diff --git a/entity/Person_entity/recordcontainers/db/onDBInsert.js b/entity/Person_entity/recordcontainers/db/onDBInsert.js
index 5f069680c3c..0b3b9578549 100644
--- a/entity/Person_entity/recordcontainers/db/onDBInsert.js
+++ b/entity/Person_entity/recordcontainers/db/onDBInsert.js
@@ -12,6 +12,7 @@ let targetEntity = "Person_entity";
 let contactId = vars.get("$local.uid");
 DataPrivacyUtils.notifyNeedDataPrivacyUpdate(contactId);
 
+/* TODO: enable when duplicate-module is finalized
 let valuesToCheck = {};
 
 var entityModel = project.getEntityStructure(targetEntity);
@@ -74,4 +75,5 @@ notification.addNotificationWith(notificationConfig);
 
 }
 
-var persAdress
\ No newline at end of file
+var persAdress
+*/
\ No newline at end of file
-- 
GitLab