diff options
author | Aldo "xoen" Giambelluca <xoen@xoen.org> | 2010-07-10 19:57:46 +0200 |
---|---|---|
committer | Aldo "xoen" Giambelluca <xoen@xoen.org> | 2010-07-10 19:57:46 +0200 |
commit | e3a0898a991867665115054fc0c0a0a335764d75 (patch) | |
tree | 4316d529a1278801cd5a68b2369c0b360982dd7f | |
parent | 00df2099b576b56bf9d3c25c8e94c1b61c50d928 (diff) | |
download | nextcloud-server-e3a0898a991867665115054fc0c0a0a335764d75.tar.gz nextcloud-server-e3a0898a991867665115054fc0c0a0a335764d75.zip |
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.
-rwxr-xr-x | inc/lib_files.php | 6 |
1 files changed, 3 insertions, 3 deletions
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 '<div id="content"></div>'; } @@ -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'){ |