logo.rb 238 B

1234567
  1. return if !ActiveRecord::Base.connected?
  2. # sync logo to fs / only if settings already exists
  3. return if ActiveRecord::Base.connection.tables.exclude?('settings')
  4. return if Setting.column_names.exclude?('state_current')
  5. StaticAssets.sync