aboutsummaryrefslogtreecommitdiffstats
path: root/lib/helper.php
diff options
context:
space:
mode:
authorFelix Moeller <mail@felixmoeller.de>2012-10-22 21:40:33 +0200
committerFelix Moeller <mail@felixmoeller.de>2012-10-22 21:40:33 +0200
commit03581ef463184081f8faa3f86bb6d21ee8bbc66d (patch)
treef199ec40d897775a8dfcb1d1ace150de88ae51f3 /lib/helper.php
parent37296b8b6dd7a1b96c3e4fa326995bf3747ac116 (diff)
downloadnextcloud-server-03581ef463184081f8faa3f86bb6d21ee8bbc66d.tar.gz
nextcloud-server-03581ef463184081f8faa3f86bb6d21ee8bbc66d.zip
Correct a first issue Checkstyle is complaining about ...
This is BracketsNotRequired
Diffstat (limited to 'lib/helper.php')
-rw-r--r--lib/helper.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/helper.php b/lib/helper.php
index a52adc96958..37a17885eee 100644
--- a/lib/helper.php
+++ b/lib/helper.php
@@ -350,8 +350,8 @@ class OC_Helper {
if(strpos($path,'.')) {
//try to guess the type by the file extension
- if(!self::$mimetypes || self::$mimetypes != include('mimetypes.list.php')) {
- self::$mimetypes=include('mimetypes.list.php');
+ if(!self::$mimetypes || self::$mimetypes != include 'mimetypes.list.php') {
+ self::$mimetypes=include 'mimetypes.list.php';
}
$extension=strtolower(strrchr(basename($path), "."));
$extension=substr($extension,1);//remove leading .