mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 17:13:25 +08:00
slightly better automatic flag reason messages
This commit is contained in:
@ -283,7 +283,7 @@ module Discourse
|
||||
SYSTEM_USER_ID ||= -1
|
||||
|
||||
def self.system_user
|
||||
User.find_by(id: SYSTEM_USER_ID)
|
||||
@system_user ||= User.find_by(id: SYSTEM_USER_ID)
|
||||
end
|
||||
|
||||
def self.store
|
||||
|
Reference in New Issue
Block a user