mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 10:50:26 -06:00
FIX: Only agree with the first post when using the 'Delete post + replies and agree' option
This commit is contained in:
parent
784da19e4c
commit
ca07a571c7
@ -228,7 +228,7 @@ class ReviewableFlaggedPost < Reviewable
|
||||
|
||||
def perform_delete_and_agree_replies(performed_by, args)
|
||||
result = agree(performed_by, args)
|
||||
PostDestroyer.delete_with_replies(performed_by, post, self, defer_reply_flags: false)
|
||||
PostDestroyer.delete_with_replies(performed_by, post, self)
|
||||
result
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user