summaryrefslogtreecommitdiffstats
path: root/lib/files/storage
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-02-09 16:46:55 +0100
committerBart Visscher <bartv@thisnet.nl>2013-02-14 08:36:26 +0100
commit5c4a804ddb4942687d5b8495d1ede51873cd412b (patch)
tree1974edcbfeab4eb4f2656ea69bb8d955b4426587 /lib/files/storage
parentbfe6334cd9d50ce99f0a6fd02c1aa0dc43b2b7e9 (diff)
downloadnextcloud-server-5c4a804ddb4942687d5b8495d1ede51873cd412b.tar.gz
nextcloud-server-5c4a804ddb4942687d5b8495d1ede51873cd412b.zip
Fix SpaceBeforeOpenBrace errors
Diffstat (limited to 'lib/files/storage')
-rw-r--r--lib/files/storage/common.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/files/storage/common.php b/lib/files/storage/common.php
index ce9e7ead6d1..6935ba00953 100644
--- a/lib/files/storage/common.php
+++ b/lib/files/storage/common.php
@@ -51,19 +51,19 @@ abstract class Common implements \OC\Files\Storage\Storage {
}
public function getPermissions($path){
$permissions = 0;
- if($this->isCreatable($path)){
+ if($this->isCreatable($path)) {
$permissions |= \OCP\PERMISSION_CREATE;
}
- if($this->isReadable($path)){
+ if($this->isReadable($path)) {
$permissions |= \OCP\PERMISSION_READ;
}
- if($this->isUpdatable($path)){
+ if($this->isUpdatable($path)) {
$permissions |= \OCP\PERMISSION_UPDATE;
}
- if($this->isDeletable($path)){
+ if($this->isDeletable($path)) {
$permissions |= \OCP\PERMISSION_DELETE;
}
- if($this->isSharable($path)){
+ if($this->isSharable($path)) {
$permissions |= \OCP\PERMISSION_SHARE;
}
return $permissions;