Complementing PR 2316

- other undefined vars are still spamming the log

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
This commit is contained in:
RD WebDesign
2022-08-29 18:21:24 -03:00
parent 775a4e1c6a
commit e63c5de10d

View File

@@ -72,11 +72,11 @@ if (!is_readable($versionsfile)) {
}
// Version comparison
$core_update = checkUpdate($core_current, $core_latest);
$web_update = checkUpdate($web_current, $web_latest);
$FTL_update = checkUpdate($FTL_current, $FTL_latest);
if (!$docker_current) {
// Not a docker container
$core_update = checkUpdate($core_current, $core_latest);
$web_update = checkUpdate($web_current, $web_latest);
$FTL_update = checkUpdate($FTL_current, $FTL_latest);
$docker_update = false;
} elseif ($docker_current == 'nightly' || $docker_current == 'dev') {
// Special container - no update messages