summaryrefslogtreecommitdiffstats
path: root/settings/admin.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-09-04 14:18:30 +0200
committerLukas Reschke <lukas@owncloud.com>2014-09-05 15:58:33 +0200
commitc13a8acbb569a1d866cb7b967bd085e44c6eb116 (patch)
tree95a1f5f72890f7e2e6857ee7144a2d1e7124e9fa /settings/admin.php
parent5913a694de0e98e918d9d08340ac88c9f1eab937 (diff)
downloadnextcloud-server-c13a8acbb569a1d866cb7b967bd085e44c6eb116.tar.gz
nextcloud-server-c13a8acbb569a1d866cb7b967bd085e44c6eb116.zip
Don't show warning when has_internet_connection is set to false
Revert Add disabled
Diffstat (limited to 'settings/admin.php')
-rwxr-xr-xsettings/admin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/admin.php b/settings/admin.php
index cf37726189b..65deed6b883 100755
--- a/settings/admin.php
+++ b/settings/admin.php
@@ -38,7 +38,7 @@ $tmpl->assign('mail_smtppassword', OC_Config::getValue( "mail_smtppassword", ''
$tmpl->assign('entries', $entries);
$tmpl->assign('entriesremain', $entriesremain);
$tmpl->assign('htaccessworking', $htaccessworking);
-$tmpl->assign('internetconnectionworking', OC_Util::isInternetConnectionEnabled() ? OC_Util::isInternetConnectionWorking() : false);
+$tmpl->assign('internetconnectionworking', OC_Util::isInternetConnectionEnabled() ? OC_Util::isInternetConnectionWorking() : 'disabled');
$tmpl->assign('isLocaleWorking', OC_Util::isSetLocaleWorking());
$tmpl->assign('isPhpCharSetUtf8', OC_Util::isPhpCharSetUtf8());
$tmpl->assign('isAnnotationsWorking', OC_Util::isAnnotationsWorking());