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

#1057422 Notifications: onDBDelete uses notifications.deleteContentIfOrphan

parent afef2ef6
No related branches found
No related tags found
No related merge requests found
...@@ -163,6 +163,7 @@ ...@@ -163,6 +163,7 @@
<fromClauseProcess>%aditoprj%/entity/Notification_entity/recordcontainers/db/fromClauseProcess.js</fromClauseProcess> <fromClauseProcess>%aditoprj%/entity/Notification_entity/recordcontainers/db/fromClauseProcess.js</fromClauseProcess>
<conditionProcess>%aditoprj%/entity/Notification_entity/recordcontainers/db/conditionProcess.js</conditionProcess> <conditionProcess>%aditoprj%/entity/Notification_entity/recordcontainers/db/conditionProcess.js</conditionProcess>
<orderClauseProcess>%aditoprj%/entity/Notification_entity/recordcontainers/db/orderClauseProcess.js</orderClauseProcess> <orderClauseProcess>%aditoprj%/entity/Notification_entity/recordcontainers/db/orderClauseProcess.js</orderClauseProcess>
<onDBDelete>%aditoprj%/entity/Notification_entity/recordcontainers/db/onDBDelete.js</onDBDelete>
<linkInformation> <linkInformation>
<linkInformation> <linkInformation>
<name>c4e34b96-6081-4d04-8377-040a8ed3e14c</name> <name>c4e34b96-6081-4d04-8377-040a8ed3e14c</name>
......
import("system.vars");
import("system.notification");
// Deletes notificationContents from its table, if there are no
notification.deleteContentIfOrphan(vars.get("$field.ID"), 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