@@ -110,7 +110,7 @@ discard block |
||
| 110 | 110 | } |
| 111 | 111 | |
| 112 | 112 | public function getACL() { |
| 113 | - $acl = [ |
|
| 113 | + $acl = [ |
|
| 114 | 114 | [ |
| 115 | 115 | 'privilege' => '{DAV:}read', |
| 116 | 116 | 'principal' => $this->getOwner(), |
@@ -131,7 +131,7 @@ discard block |
||
| 131 | 131 | } |
| 132 | 132 | |
| 133 | 133 | if ($this->getOwner() !== parent::getOwner()) { |
| 134 | - $acl[] = [ |
|
| 134 | + $acl[] = [ |
|
| 135 | 135 | 'privilege' => '{DAV:}read', |
| 136 | 136 | 'principal' => parent::getOwner(), |
| 137 | 137 | 'protected' => true, |
@@ -178,7 +178,7 @@ discard block |
||
| 178 | 178 | public function delete() { |
| 179 | 179 | if (isset($this->calendarInfo['{http://owncloud.org/ns}owner-principal']) && |
| 180 | 180 | $this->calendarInfo['{http://owncloud.org/ns}owner-principal'] !== $this->calendarInfo['principaluri']) { |
| 181 | - $principal = 'principal:' . parent::getOwner(); |
|
| 181 | + $principal = 'principal:'.parent::getOwner(); |
|
| 182 | 182 | $shares = $this->caldavBackend->getShares($this->getResourceId()); |
| 183 | 183 | $shares = array_filter($shares, function($share) use ($principal){ |
| 184 | 184 | return $share['href'] === $principal; |
@@ -267,7 +267,7 @@ discard block |
||
| 267 | 267 | |
| 268 | 268 | $uris = $this->caldavBackend->calendarQuery($this->calendarInfo['id'], $filters); |
| 269 | 269 | if ($this->isShared()) { |
| 270 | - return array_filter($uris, function ($uri) { |
|
| 270 | + return array_filter($uris, function($uri) { |
|
| 271 | 271 | return $this->childExists($uri); |
| 272 | 272 | }); |
| 273 | 273 | } |