Add skin config options to dont_override list

... so e.g. options in user preferences will be hidden.
pull/6068/merge
Aleksander Machniak 7 years ago
parent 3b0e3deb21
commit 758044d69e

@ -305,6 +305,11 @@ EOF;
foreach ((array) $meta['config'] as $key => $value) {
$this->config->set($key, $value, true);
}
if (!empty($meta['config'])) {
$value = array_merge((array) $this->config->get('dont_override'), array_keys($meta['config']));
$this->config->set('dont_override', $value, true);
}
}
/**

Loading…
Cancel
Save