Skip to content
Snippets Groups Projects
Commit dd4a0732 authored by Thomas Müller's avatar Thomas Müller
Browse files

fix method naming

parent 183f8c90
Branches
No related tags found
No related merge requests found
......@@ -640,9 +640,9 @@ class OC_Util {
/**
* Check if the ownCloud server can connect to the internet
*/
public static function isInternetconnectionWorking() {
public static function isInternetConnectionWorking() {
// in case there is no internet connection on purpose return false
if (self::isInternetconnectionEnabled() === false) {
if (self::isInternetConnectionEnabled() === false) {
return false;
}
......@@ -669,7 +669,7 @@ class OC_Util {
/**
* Check if the connection to the internet is disabled on purpose
*/
public static function isInternetconnectionEnabled(){
public static function isInternetConnectionEnabled(){
return \OC_Config::getValue("has_internet_connection", true);
}
......
......@@ -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::isInternetconnectionEnabled() ? OC_Util::isInternetconnectionWorking() : false);
$tmpl->assign('internetconnectionworking', OC_Util::isInternetConnectionEnabled() ? OC_Util::isInternetConnectionWorking() : false);
$tmpl->assign('islocaleworking', OC_Util::issetlocaleworking());
$tmpl->assign('isWebDavWorking', OC_Util::isWebDAVWorking());
$tmpl->assign('has_fileinfo', OC_Util::fileInfoLoaded());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment