firmware: don't mess with the model

This commit is contained in:
Franco Fichtner 2023-11-07 11:45:44 +01:00
parent 1b10075eb8
commit ab49e2054b

View File

@ -166,9 +166,6 @@ switch ($action) {
echo "Registering release type: " . (!empty($type) ? $type : 'community') . PHP_EOL;
$config->system->firmware->type = $type;
}
if (empty($config->system->firmware->type)) {
unset($config->system->firmware->type);
}
/* FALLTHROUGH */
case 'resync':
foreach (array_keys($plugins) as $name) {