Commit 671bc5d
committed
Ensure that deleting an offsite link from a standard edition only removes the association, not the offsite link itself
In the existing implementation, deleting an offsite link from a standard edition would delete the offsite link record itself,
which would affect other editions that are associated with the same offsite link.
I've made sure only the association between the edition and the offsite link is removed,
while retaining the offsite link record or any other editions that may be using it.
This follows the established design from #110011 parent 9a30b1f commit 671bc5d
2 files changed
Lines changed: 9 additions & 3 deletions
File tree
- app/controllers/admin
- test/functional/admin
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
34 | 38 | | |
35 | 39 | | |
36 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
| 157 | + | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
161 | 163 | | |
162 | 164 | | |
163 | 165 | | |
| |||
0 commit comments