kopia lustrzana https://github.com/friendica/friendica
add version info to notification text
rodzic
3b15b19e62
commit
a49c1be7c9
|
@ -620,7 +620,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;
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue