Don't memoize a SiteSetting in the DiscourseHub module because that breaks multisite support
This commit is contained in:
parent
739d6391a9
commit
016634d1d9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue