mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
Add rubocop to our build. (#5004)
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
discobot_username ='discobot'
|
||||
discobot_username = 'discobot'
|
||||
user = User.find_by(id: -2)
|
||||
|
||||
if !user
|
||||
@ -37,7 +37,7 @@ if !user
|
||||
end
|
||||
|
||||
bot = User.find(-2)
|
||||
bot.update!(admin:true, moderator: false)
|
||||
bot.update!(admin: true, moderator: false)
|
||||
|
||||
bot.user_option.update!(
|
||||
email_private_messages: false,
|
||||
|
Reference in New Issue
Block a user