]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix method naming
authorThomas Mueller <thomas.mueller@tmit.eu>
Fri, 31 May 2013 21:24:09 +0000 (23:24 +0200)
committerThomas Mueller <thomas.mueller@tmit.eu>
Fri, 31 May 2013 21:24:09 +0000 (23:24 +0200)
lib/util.php
settings/admin.php

index 40075ef77744340eaad7ec53423955ded14d4f2b..f1f91085154eb4dc31690777b83e4e3d411cbae4 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 c2be9aec879f554e24d68c00cac27853c72d28b0..db041ef889c08e527fd9bdffc0b514e37b50c0ed 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() : 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());