aboutsummaryrefslogtreecommitdiffstats
path: root/lib/helper.php
diff options
context:
space:
mode:
authorFelix Moeller <mail@felixmoeller.de>2012-10-23 08:01:09 +0200
committerFelix Moeller <mail@felixmoeller.de>2012-10-23 08:01:09 +0200
commit2d61f0345297a92d23751d3228b74c6dca94d1e5 (patch)
treeb65ce0d556196098253dec35ce9d46aeaba58491 /lib/helper.php
parent6a00a6b9ed49f9a9da044772e7ca7f3506672100 (diff)
downloadnextcloud-server-2d61f0345297a92d23751d3228b74c6dca94d1e5.tar.gz
nextcloud-server-2d61f0345297a92d23751d3228b74c6dca94d1e5.zip
More Checkstyle cleanup
This is for all LowerCaseConstant warnings
Diffstat (limited to 'lib/helper.php')
-rw-r--r--lib/helper.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/helper.php b/lib/helper.php
index 37a17885eee..b79955aa9bf 100644
--- a/lib/helper.php
+++ b/lib/helper.php
@@ -274,18 +274,18 @@ class OC_Helper {
if($file != '.' && $file != '..') {
$fullpath = $path.'/'.$file;
if(is_link($fullpath))
- return FALSE;
+ return false;
elseif(!is_dir($fullpath) && !@chmod($fullpath, $filemode))
- return FALSE;
+ return false;
elseif(!self::chmodr($fullpath, $filemode))
- return FALSE;
+ return false;
}
}
closedir($dh);
if(@chmod($path, $filemode))
- return TRUE;
+ return true;
else
- return FALSE;
+ return false;
}
/**