Merge pull request #3876 from tobiasd/2017107-followup3874

add version info to notification text
2022.09-rc
Michael Vogel 2017-11-07 06:44:05 +01:00 zatwierdzone przez GitHub
commit 669dafcf22
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -621,7 +621,7 @@ function admin_page_summary(App $a) {
if (Config::get('system', 'check_new_version_url', 'none') != 'none' ) {
$gitversion = Config::get('system','git_friendica_version');
if (version_compare(FRIENDICA_VERSION, $gitversion) < 0) {
$warningtext[] = t('There is a new version of Friendica available for download.');
$warningtext[] = sprintf(t('There is a new version of Friendica available for download. Your current version is %1$s, upstream version is %2$s'), $FRIENDICA_VERSION, $gitversion);
$showwarning = true;
}
}