bump config

Implement redmine #5644
This commit is contained in:
Augustin-FL 2019-01-05 19:51:28 +01:00
parent b0a29e82be
commit 1d8a8f66e8
No known key found for this signature in database
GPG Key ID: 07C2BC8C948B0D9A
2 changed files with 11 additions and 1 deletions

View File

@ -69,7 +69,7 @@ $g = array(
"disablecrashreporter" => false,
"crashreporterurl" => "https://crashreporter.pfsense.org/crash_reporter.php",
"debug" => false,
"latest_config" => "19.3",
"latest_config" => "19.4",
"minimum_ram_warning" => "101",
"minimum_ram_warning_text" => "128 MB",
"wan_interface_name" => "wan",

View File

@ -6004,6 +6004,16 @@ function upgrade_192_to_193() {
}
}
function upgrade_193_to_194() {
global $config, $g;
if (is_array($config['captiveportal'])) {
foreach ($config['captiveportal'] as $cpzone => $cp) {
unlink_if_exists("{$g['vardb_path']}/captiveportal{$cpzone}.db");
}
}
}
/*
* Special function that is called independent of current config version. It's
* a workaround to have config_upgrade running on older versions after next