diff options
author | Felix Moeller <mail@felixmoeller.de> | 2012-11-04 10:46:32 +0100 |
---|---|---|
committer | Felix Moeller <mail@felixmoeller.de> | 2012-11-04 10:46:32 +0100 |
commit | f8d1d7787e1112842db81a629dfd84b586fbebda (patch) | |
tree | 65ca5da914f492411485ccb61a707b00686ba8f6 /lib/filesystem.php | |
parent | 17d466b03b91ccc058fe1a88340df36c22a580c2 (diff) | |
download | nextcloud-server-f8d1d7787e1112842db81a629dfd84b586fbebda.tar.gz nextcloud-server-f8d1d7787e1112842db81a629dfd84b586fbebda.zip |
Checkstyle fixes for SpaceBeforeOpenBrace
Diffstat (limited to 'lib/filesystem.php')
-rw-r--r-- | lib/filesystem.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/filesystem.php b/lib/filesystem.php index 852290e62ac..055ba66aae3 100644 --- a/lib/filesystem.php +++ b/lib/filesystem.php @@ -403,7 +403,7 @@ class OC_Filesystem{ if(strstr($path, '/../') || strrchr($path, '/') === '/..' ) { return false; } - if(self::isFileBlacklisted($path)){ + if(self::isFileBlacklisted($path)) { return false; } return true; @@ -425,7 +425,7 @@ class OC_Filesystem{ } } - static public function isFileBlacklisted($path){ + static public function isFileBlacklisted($path) { $blacklist = array('.htaccess'); $filename = strtolower(basename($path)); return in_array($filename, $blacklist); |