Skip to content
Snippets Groups Projects
Commit f9fec277 authored by Benjamin Ulrich's avatar Benjamin Ulrich :speech_balloon:
Browse files

[Projekt: Entwicklung - Neon][TicketNr.: 1065477][Löschen über "Weitere...

[Projekt: Entwicklung - Neon][TicketNr.: 1065477][Löschen über "Weitere Funktionen" löscht nicht alle Daten]
parent 88cccbfc
No related branches found
No related tags found
No related merge requests found
import("Sql_lib");
import("Context_lib");
import("Attribute_lib");
import("Workflow_lib");
import("system.vars");
......@@ -8,7 +7,7 @@ import("DuplicateScanner_lib");
var contactId = vars.get("$field.CONTACTID");
DuplicateScannerUtils.deleteCachedDuplicate(contactId);
new AttributeRelationQuery(contactId, null, ContextUtils.getCurrentContextId())
new AttributeRelationQuery(contactId, null, "Person")
.deleteAllAttributes();
newWhere("COMMUNICATION.CONTACT_ID", contactId).deleteData();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment