summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Ehrke <georg@ownCloud.com>2013-05-27 19:24:31 +0200
committerGeorg Ehrke <georg@ownCloud.com>2013-05-27 19:24:31 +0200
commit557cc4c1ab29c005ab13b8bbefed108a928679a8 (patch)
tree90f6510cd2bee2be793d9c1a77290dce5c10e00c
parentd69b7e24d288f08bb7ebc73d46772a2939a0f31f (diff)
downloadnextcloud-server-557cc4c1ab29c005ab13b8bbefed108a928679a8.tar.gz
nextcloud-server-557cc4c1ab29c005ab13b8bbefed108a928679a8.zip
make method names camelCase
-rwxr-xr-xlib/util.php6
-rwxr-xr-xsettings/admin.php2
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/util.php b/lib/util.php
index 76309942cc3..40075ef7774 100755
--- a/lib/util.php
+++ b/lib/util.php
@@ -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);
}
diff --git a/settings/admin.php b/settings/admin.php
index 1f6c7ed37da..67c7cdaa61f 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::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());