mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2026-01-03 01:33:17 -06:00
fix up delete query comments to match what is happening
This commit is contained in:
parent
57f268870c
commit
b65fe3ff77
2 changed files with 4 additions and 4 deletions
|
|
@ -256,8 +256,8 @@ func (r *relationshipDB) DeleteFollow(
|
|||
deleted.AccountID = sourceAccountID
|
||||
deleted.TargetAccountID = targetAccountID
|
||||
|
||||
// Delete all blocks either from
|
||||
// account, or targeting account,
|
||||
// Delete follow from origin
|
||||
// account, to targeting account,
|
||||
// returning the deleted models.
|
||||
if _, err := r.db.NewDelete().
|
||||
Model(&deleted).
|
||||
|
|
|
|||
|
|
@ -298,8 +298,8 @@ func (r *relationshipDB) DeleteFollowRequest(
|
|||
deleted.AccountID = sourceAccountID
|
||||
deleted.TargetAccountID = targetAccountID
|
||||
|
||||
// Delete all blocks either from
|
||||
// account, or targeting account,
|
||||
// Delete all follow reqs either
|
||||
// from account, or targeting account,
|
||||
// returning the deleted models.
|
||||
if _, err := r.db.NewDelete().
|
||||
Model(&deleted).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue