mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 02:19:27 +08:00
Remove unnecessary SiteSetting.refresh!
.
* It is already `refresh!`ed in our initializer.
This commit is contained in:
parent
91dfe23d6f
commit
4556e95837
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user