Fixed variable check.
This commit is contained in:
parent
09b05b220d
commit
37bfbaff51
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ class StoreConfigNameUpdateIssue428 < ActiveRecord::Migration
|
|||
# return if it's a new setup
|
||||
return if !Setting.find_by(name: 'system_init_done')
|
||||
setting = Setting.find_by(name: 'storage')
|
||||
return if !Setting
|
||||
return if !setting
|
||||
setting.name = 'storage_provider'
|
||||
setting.options = {
|
||||
form: [
|
||||
|
|
Loading…
Reference in a new issue