mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Remove unnecessary SiteSetting.refresh!.
* It is already `refresh!`ed in our initializer.
This commit is contained in:
@@ -3,7 +3,6 @@ require 'column_dropper'
|
||||
# fix any bust caches post initial migration
|
||||
ActiveRecord::Base.send(:subclasses).each { |m| m.reset_column_information }
|
||||
|
||||
SiteSetting.refresh!
|
||||
uncat_id = SiteSetting.uncategorized_category_id
|
||||
uncat_id = -1 unless Numeric === uncat_id
|
||||
|
||||
|
||||
Reference in New Issue
Block a user