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:
Sam
2014-03-31 12:34:01 +11:00
parent 8fc2549873
commit 9aec32688b
3 changed files with 21 additions and 12 deletions

View File

@ -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)