mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 13:06:56 +08:00
FIX: Only agree with the first post when using the 'Delete post + replies and agree' option
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user