mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
unbound: fix migration for 1.0.5 #6550
This commit is contained in:
parent
378d9a3a6c
commit
ee4e002d0d
@ -42,6 +42,9 @@ class M1_0_5 extends BaseModelMigration
|
||||
if ($key == 'port' && empty($config->unbound->port)) {
|
||||
$model->general->port->applyDefault();
|
||||
continue;
|
||||
} elseif (in_array($key, ['dnssec', 'enable'])) {
|
||||
$new[$key] = empty($config->unbound->$key) ? 0 : 1;
|
||||
continue;
|
||||
}
|
||||
$new[$key] = $config->unbound->$key;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user