forked from e621ng/e621ng
[Posts] Removed the default deletion reason for child posts
This commit is contained in:
parent
98a766335a
commit
de6a38de59
@ -13,7 +13,6 @@ module Moderator
|
||||
def confirm_delete
|
||||
@post = ::Post.find(params[:id])
|
||||
@reason = @post.pending_flag&.reason || ""
|
||||
@reason = "Inferior version/duplicate of post ##{@post.parent_id}" if @post.parent_id && @reason == ""
|
||||
@reason = "" if @reason =~ /uploading_guidelines/
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user