FIX: Actually save fields on themes:update (#15497)
`RemoteTheme#update_from_remote` does not save theme fields on its own. Fixes theme/theme component autoupdates working only partially.
This commit is contained in:
parent
a850568a52
commit
793c3ae7d4
|
@ -60,6 +60,7 @@ def update_themes
|
|||
|
||||
puts "Updating '#{theme.name}' for '#{RailsMultisite::ConnectionManagement.current_db}'..."
|
||||
remote_theme.update_from_remote
|
||||
theme.save!
|
||||
|
||||
raise RemoteTheme::ImportError.new(remote_theme.last_error_text) if remote_theme.last_error_text.present?
|
||||
rescue => e
|
||||
|
|
Loading…
Reference in New Issue