diff options
author | Felix Moeller <mail@felixmoeller.de> | 2012-10-23 23:01:10 +0200 |
---|---|---|
committer | Felix Moeller <mail@felixmoeller.de> | 2012-10-23 23:01:10 +0200 |
commit | 561cbb2de69a31934c22fc28332b5a14b6fcfc68 (patch) | |
tree | 502f17c451cd4af82ebc9fe797d34d662b1831ae /apps/files_encryption/lib | |
parent | e73b817a38a824b3119136ea110eda4be15b99d5 (diff) | |
download | nextcloud-server-561cbb2de69a31934c22fc28332b5a14b6fcfc68.tar.gz nextcloud-server-561cbb2de69a31934c22fc28332b5a14b6fcfc68.zip |
NoSpaceAfterComma II
Diffstat (limited to 'apps/files_encryption/lib')
-rw-r--r-- | apps/files_encryption/lib/proxy.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files_encryption/lib/proxy.php b/apps/files_encryption/lib/proxy.php index 5c19955dbd5..61b87ab5463 100644 --- a/apps/files_encryption/lib/proxy.php +++ b/apps/files_encryption/lib/proxy.php @@ -42,13 +42,13 @@ class OC_FileProxy_Encryption extends OC_FileProxy{ return false; } if(is_null(self::$blackList)) { - self::$blackList=explode(',',OCP\Config::getAppValue('files_encryption','type_blacklist','jpg,png,jpeg,avi,mpg,mpeg,mkv,mp3,oga,ogv,ogg')); + self::$blackList=explode(',', OCP\Config::getAppValue('files_encryption', 'type_blacklist', 'jpg,png,jpeg,avi,mpg,mpeg,mkv,mp3,oga,ogv,ogg')); } if(self::isEncrypted($path)) { return true; } - $extension=substr($path,strrpos($path,'.')+1); - if(array_search($extension,self::$blackList)===false) { + $extension=substr($path, strrpos($path, '.')+1); + if(array_search($extension, self::$blackList)===false) { return true; } } |