return more detailed message (include update_channel if testing)

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-05-26 13:46:44 +02:00
parent 66c3694809
commit 75fedcb7e8
6 changed files with 8 additions and 10 deletions

View File

@@ -94,7 +94,7 @@ final class UpdateCommand extends CliCommand
return self::SUCCESS;
}
// no new version
$output->writeln('<info>' . lng('update.noupdatesavail') . '</>');
$output->writeln('<info>' . lng('update.noupdatesavail', [(Settings::Get('system.update_channel') == 'testing' ? lng('serversettings.uc_testing') : '')]) . '</>');
$result = self::SUCCESS;
}
} catch (Exception $e) {