From: Aldo "xoen" Giambelluca Date: Sat, 10 Jul 2010 17:57:46 +0000 (+0200) Subject: Using camelCase for function names in 'inc/lib_files.php' X-Git-Tag: v3.0~347 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e3a0898a991867665115054fc0c0a0a335764d75;p=nextcloud-server.git Using camelCase for function names in 'inc/lib_files.php' PHP function names is case-insensitive so this change isn't intrusive but improve readability of the code. --- diff --git a/inc/lib_files.php b/inc/lib_files.php index 8f694536f7a..009de854d3f 100755 --- a/inc/lib_files.php +++ b/inc/lib_files.php @@ -36,7 +36,7 @@ class OC_FILES { * @param basedir $basedir * @param dir $dir */ - public static function showbrowser($basedir,$dir){ + public static function showBrowser($basedir,$dir){ echo '
'; } @@ -44,7 +44,7 @@ class OC_FILES { * get the content of a directory * @param dir $directory */ - public static function getdirectorycontent($directory){ + public static function getDirectoryContent($directory){ global $CONFIG_DATADIRECTORY; if(strpos($directory,$CONFIG_DATADIRECTORY)===0){ $directory=substr($directory,strlen($CONFIG_DATADIRECTORY)); @@ -202,7 +202,7 @@ class OC_FILES { * @param file $name * @param type $type */ - public static function newfile($dir,$name,$type){ + public static function newFile($dir,$name,$type){ if(OC_USER::isLoggedIn()){ $file=$dir.'/'.$name; if($type=='dir'){