mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Bump rubocop_discourse (#29608)
This commit is contained in:
committed by
GitHub
parent
ff494f2f94
commit
57f4176b57
@@ -459,7 +459,7 @@ class PostRevisor
|
||||
remove_flags_and_unhide_post
|
||||
end
|
||||
|
||||
USER_ACTIONS_TO_REMOVE ||= [UserAction::REPLY, UserAction::RESPONSE]
|
||||
USER_ACTIONS_TO_REMOVE = [UserAction::REPLY, UserAction::RESPONSE]
|
||||
|
||||
def update_post
|
||||
if @fields.has_key?("user_id") && @fields["user_id"] != @post.user_id && @post.user_id != nil
|
||||
|
||||
Reference in New Issue
Block a user