mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 13:51:18 +08:00
DEV: Bump rubocop_discourse (#29608)
This commit is contained in:

committed by
GitHub

parent
ff494f2f94
commit
57f4176b57
@ -586,7 +586,7 @@ class ImportScripts::Base
|
||||
[created, skipped]
|
||||
end
|
||||
|
||||
STAFF_GUARDIAN ||= Guardian.new(Discourse.system_user)
|
||||
STAFF_GUARDIAN = Guardian.new(Discourse.system_user)
|
||||
|
||||
def create_post(opts, import_id)
|
||||
user = User.find(opts[:user_id])
|
||||
|
Reference in New Issue
Block a user