diff options
author | Georg Ehrke <georg@ownCloud.com> | 2013-05-27 19:19:47 +0200 |
---|---|---|
committer | Georg Ehrke <georg@ownCloud.com> | 2013-05-27 19:19:47 +0200 |
commit | 3f52393866eabc6d72023ddaf37cc3e0d066c224 (patch) | |
tree | 2cd78d1b890495d9a0328ca372db42c5b60c8a26 /settings/admin.php | |
parent | 58c9175a567fe8db0a3ed4711d8360526d3cdaf8 (diff) | |
download | nextcloud-server-3f52393866eabc6d72023ddaf37cc3e0d066c224.tar.gz nextcloud-server-3f52393866eabc6d72023ddaf37cc3e0d066c224.zip |
don't show a warning if internet connection is disabled on purpose
Diffstat (limited to 'settings/admin.php')
-rwxr-xr-x | settings/admin.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/admin.php b/settings/admin.php index 035cef5bf95..1f6c7ed37da 100755 --- a/settings/admin.php +++ b/settings/admin.php @@ -24,7 +24,7 @@ $tmpl->assign('loglevel', OC_Config::getValue( "loglevel", 2 )); $tmpl->assign('entries', $entries); $tmpl->assign('entriesremain', $entriesremain); $tmpl->assign('htaccessworking', $htaccessworking); -$tmpl->assign('internetconnectionworking', OC_Util::isinternetconnectionworking()); +$tmpl->assign('internetconnectionworking', OC_Util::isinternetconnectionenabled() ? OC_Util::isinternetconnectionworking() : 0); $tmpl->assign('islocaleworking', OC_Util::issetlocaleworking()); $tmpl->assign('isWebDavWorking', OC_Util::isWebDAVWorking()); $tmpl->assign('has_fileinfo', OC_Util::fileInfoLoaded()); |