mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Revert "Remove unnecessary SiteSetting.refresh!
."
This reverts commit 4556e95837
.
This commit is contained in:
parent
4556e95837
commit
eb85922083
@ -3,6 +3,7 @@ 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