Skip to content
Snippets Groups Projects
Commit c31af093 authored by Andreas Schindlbeck's avatar Andreas Schindlbeck
Browse files

#1068648 Notifications: deleteMultipleContentsIfOrphan replaces deleteContentIfOrphan

parent aa482a87
No related branches found
No related tags found
No related merge requests found
......@@ -4,4 +4,4 @@ import("system.notification");
// Deletes notificationContents from its table, if there are no user notification left
// Only AppointmentContents need to stay, because they would appear again after every deletion.
if(vars.get("$field.TYPECODE") != "_____SYSTEM_NOTIFICATION_APPOINTMENT")
notification.deleteContentIfOrphan([vars.get("$field.CONTENTID")]);
\ No newline at end of file
notification.deleteMultipleContentsIfOrphan([vars.get("$field.CONTENTID")]);
\ No newline at end of file
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