mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 07:53:49 +08:00
Don't memoize a SiteSetting in the DiscourseHub module because that breaks multisite support
This commit is contained in:
@ -69,7 +69,7 @@ module DiscourseHub
|
||||
end
|
||||
|
||||
def self.access_token
|
||||
@access_token ||= SiteSetting.discourse_org_access_key
|
||||
SiteSetting.discourse_org_access_key
|
||||
end
|
||||
|
||||
def self.accepts
|
||||
|
Reference in New Issue
Block a user