Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
basic
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
xrm
basic
Commits
8279cebb
Commit
8279cebb
authored
4 years ago
by
Andreas Schindlbeck
Browse files
Options
Downloads
Patches
Plain Diff
#1057422 Notifications: onDBDelete uses notifications.deleteContentIfOrphan
parent
4dac3a65
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
entity/Notification_entity/Notification_entity.aod
+1
-0
1 addition, 0 deletions
entity/Notification_entity/Notification_entity.aod
entity/Notification_entity/recordcontainers/db/onDBDelete.js
+5
-0
5 additions, 0 deletions
entity/Notification_entity/recordcontainers/db/onDBDelete.js
with
6 additions
and
0 deletions
entity/Notification_entity/Notification_entity.aod
+
1
−
0
View file @
8279cebb
...
...
@@ -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>
...
...
This diff is collapsed.
Click to expand it.
entity/Notification_entity/recordcontainers/db/onDBDelete.js
0 → 100644
+
5
−
0
View file @
8279cebb
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
This diff is collapsed.
Click to expand it.
Andreas Schindlbeck
@a.schindlbeck
mentioned in commit
8d988456
·
4 years ago
mentioned in commit
8d988456
mentioned in commit 8d988456b1a8129a086a168c17c0ef6522fc2c33
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment