]> source.dussan.org Git - nextcloud-server.git/commitdiff
make method names camelCase
authorGeorg Ehrke <georg@ownCloud.com>
Mon, 27 May 2013 17:24:31 +0000 (19:24 +0200)
committerGeorg Ehrke <georg@ownCloud.com>
Mon, 27 May 2013 17:24:31 +0000 (19:24 +0200)
lib/util.php
settings/admin.php

index 76309942cc31c502ae9271136ce9631ab94d07ce..40075ef77744340eaad7ec53423955ded14d4f2b 100755 (executable)
@@ -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);
        }
 
index 1f6c7ed37da3a9c6b3fa1fee32adde315ac331c6..67c7cdaa61f561515fdaf79428a7139632928552 100755 (executable)
@@ -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());