mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 19:32:43 +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
|
end
|
||||||
|
|
||||||
def self.access_token
|
def self.access_token
|
||||||
@access_token ||= SiteSetting.discourse_org_access_key
|
SiteSetting.discourse_org_access_key
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.accepts
|
def self.accepts
|
||||||
|
Reference in New Issue
Block a user