diff options
author | Thomas Mueller <thomas.mueller@tmit.eu> | 2013-05-31 23:24:09 +0200 |
---|---|---|
committer | Thomas Mueller <thomas.mueller@tmit.eu> | 2013-05-31 23:24:09 +0200 |
commit | dd4a07321a2afa5c86fa4e42fc3e133b4ec91791 (patch) | |
tree | 3965bb22c463e5d3630719b76cc69b4b0bd19028 | |
parent | 183f8c90af7d4a855d806285f30f0b26c2d087ec (diff) | |
download | nextcloud-server-dd4a07321a2afa5c86fa4e42fc3e133b4ec91791.tar.gz nextcloud-server-dd4a07321a2afa5c86fa4e42fc3e133b4ec91791.zip |
fix method naming
-rwxr-xr-x | lib/util.php | 6 | ||||
-rwxr-xr-x | settings/admin.php | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/util.php b/lib/util.php index 40075ef7774..f1f91085154 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 c2be9aec879..db041ef889c 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() : 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()); |