mirror of
https://code.sup39.dev/repos/Wqawg
synced 2024-12-27 17:04:52 +09:00
S2S: Common: Remove: When deleting Collab record, delete CollabDeleg*s too
This commit is contained in:
parent
6dceaa1cff
commit
cfc8add212
1 changed files with 2 additions and 0 deletions
|
@ -1379,6 +1379,8 @@ topicRemove grabActor topicResource topicField topicCollabField now topicKey (Ve
|
||||||
lift $ for maybeRemoveDB $ \ _removeDB -> do
|
lift $ for maybeRemoveDB $ \ _removeDB -> do
|
||||||
|
|
||||||
-- Delete the whole Collab record
|
-- Delete the whole Collab record
|
||||||
|
deleteBy $ UniqueCollabDelegLocal enableID
|
||||||
|
deleteBy $ UniqueCollabDelegRemote enableID
|
||||||
delete enableID
|
delete enableID
|
||||||
case recipID of
|
case recipID of
|
||||||
Left (E.Value l) -> do
|
Left (E.Value l) -> do
|
||||||
|
|
Loading…
Reference in a new issue