fix method naming

This commit is contained in:
Thomas Mueller 2013-05-31 23:24:09 +02:00
parent 183f8c90af
commit dd4a07321a
2 changed files with 4 additions and 4 deletions

View File

@ -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);
}

View File

@ -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());