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

@@ -105,7 +105,7 @@ if ($page == 'overview') {
}
} else {
// no new version
Response::standardSuccess('update.noupdatesavail');
Response::standardSuccess('update.noupdatesavail', [(Settings::Get('system.update_channel') == 'testing' ? lng('serversettings.uc_testing') : '')]);
}
} // download the new archive
elseif ($page == 'getdownload') {