mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 21:01:04 +08:00
BUGFIX: when RTT is short likes may not appear to work
BUGFIX: site settings db provider not triggering updates at the correct point
This commit is contained in:
@ -214,8 +214,10 @@ module SiteSettingExtension
|
||||
provider.save(name, val, type)
|
||||
current[name] = convert(val, type)
|
||||
clear_cache!
|
||||
end
|
||||
|
||||
@last_message_sent = MessageBus.publish('/site_settings', {process: process_id})
|
||||
def notify_changed!
|
||||
MessageBus.publish('/site_settings', {process: process_id})
|
||||
end
|
||||
|
||||
def has_setting?(name)
|
||||
|
Reference in New Issue
Block a user