comparison works now

This commit is contained in:
Tobias Diekershoff 2017-11-05 07:45:49 +01:00
parent 3c60e6f183
commit 0d0751fce3

View File

@ -617,7 +617,7 @@ function admin_page_summary(App $a) {
}
// Check if github.com/friendica/master/VERSION is higher then
// the local version of Friendica. Check is opt-in, source may be master or devel branch
if (! Config::get('system', 'check_new_version_url', 'none') == 'none' ) {
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.');