make method names camelCase

This commit is contained in:
Georg Ehrke 2013-05-27 19:24:31 +02:00
parent d69b7e24d2
commit 557cc4c1ab
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() : 0);
$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());