From 557cc4c1ab29c005ab13b8bbefed108a928679a8 Mon Sep 17 00:00:00 2001 From: Georg Ehrke Date: Mon, 27 May 2013 19:24:31 +0200 Subject: [PATCH] make method names camelCase --- lib/util.php | 6 +++--- settings/admin.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/util.php b/lib/util.php index 76309942cc..40075ef777 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 1f6c7ed37d..67c7cdaa61 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());