@@ -365,7 +365,7 @@ |
||
| 365 | 365 | if (!$this->_acl->isAllowed($this, 'm')) { |
| 366 | 366 | throw new ForbiddenException( |
| 367 | 367 | 'not allowed to update acl', |
| 368 | - ForbiddenException::NOT_ALLOWED_TO_MANAGE |
|
| 368 | + ForbiddenException::NOT_ALLOWED_TO_MANAGE |
|
| 369 | 369 | ); |
| 370 | 370 | } |
| 371 | 371 | |
@@ -770,8 +770,8 @@ |
||
| 770 | 770 | { |
| 771 | 771 | if (!$this->_acl->isAllowed($this, 'm')) { |
| 772 | 772 | throw new ForbiddenException( |
| 773 | - 'not allowed to set acl', |
|
| 774 | - ForbiddenException::NOT_ALLOWED_TO_MANAGE |
|
| 773 | + 'not allowed to set acl', |
|
| 774 | + ForbiddenException::NOT_ALLOWED_TO_MANAGE |
|
| 775 | 775 | ); |
| 776 | 776 | } |
| 777 | 777 | |
@@ -236,8 +236,8 @@ discard block |
||
| 236 | 236 | $share = $node->getFilesystem()->findRawNode($node->getShareId()); |
| 237 | 237 | } catch (\Exception $e) { |
| 238 | 238 | $this->logger->error('could not find share node ['.$node->getShareId().'] for reference ['.$node->getId().'], dead reference?', [ |
| 239 | - 'category' => get_class($this), |
|
| 240 | - 'exception' => $e, |
|
| 239 | + 'category' => get_class($this), |
|
| 240 | + 'exception' => $e, |
|
| 241 | 241 | ]); |
| 242 | 242 | |
| 243 | 243 | return self::PRIVILEGE_DENY; |
@@ -245,7 +245,7 @@ discard block |
||
| 245 | 245 | |
| 246 | 246 | if ($share['deleted'] instanceof UTCDateTime || true !== $share['shared']) { |
| 247 | 247 | $this->logger->error('share node ['.$share['_id'].'] has been deleted, dead reference?', [ |
| 248 | - 'category' => get_class($this), |
|
| 248 | + 'category' => get_class($this), |
|
| 249 | 249 | ]); |
| 250 | 250 | |
| 251 | 251 | return self::PRIVILEGE_DENY; |