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

#1057422 Notifications: onDBDelete uses notifications.deleteContentIfOrphan

parent 4dac3a65
No related branches found
No related tags found
No related merge requests found
......@@ -166,6 +166,7 @@
<fromClauseProcess>%aditoprj%/entity/Notification_entity/recordcontainers/db/fromClauseProcess.js</fromClauseProcess>
<conditionProcess>%aditoprj%/entity/Notification_entity/recordcontainers/db/conditionProcess.js</conditionProcess>
<orderClauseProcess>%aditoprj%/entity/Notification_entity/recordcontainers/db/orderClauseProcess.js</orderClauseProcess>
<onDBDelete>%aditoprj%/entity/Notification_entity/recordcontainers/db/onDBDelete.js</onDBDelete>
<linkInformation>
<linkInformation>
<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