Commit 76f1d0f
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 f6ecf06 commit 76f1d0f
2 files changed
Lines changed: 10 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 | | |
164 | 166 | | |
| 167 | + | |
165 | 168 | | |
166 | 169 | | |
167 | 170 | | |
| |||
0 commit comments