discourse/config/initializers/04-site_settings.rb
Sam 1c8eef7dbd added basic passenger support, no long polling but functions
clean up initializers so they are ordered properly
2013-03-11 05:33:20 -07:00

8 lines
192 B
Ruby

RailsMultisite::ConnectionManagement.each_connection do
begin
SiteSetting.refresh!
rescue ActiveRecord::StatementInvalid
# This will happen when migrating a new database
end
end