Partially revert 4e89d3f778
.
* SiteSetting uses DistributedCache which depends on MessageBus. Therefore, we need to initialize MessageBus first.
This commit is contained in:
parent
23415caecd
commit
d2ac7a9476
|
@ -295,11 +295,11 @@ module SiteSettingExtension
|
|||
clean_name = name.to_s.sub("?", "").to_sym
|
||||
|
||||
define_singleton_method clean_name do
|
||||
if (c = @containers[provider.current_site])
|
||||
c[name]
|
||||
else
|
||||
if (c = current[name]).nil?
|
||||
refresh!
|
||||
current[name]
|
||||
else
|
||||
c
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue