summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Comments
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-09 16:07:47 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-09 16:07:47 +0200
commit44577e4345066952622feca9ef69c24fc23d08ab (patch)
tree362160e9a6cf5c55eb1a2cca5aa32fb3bac336ad /apps/dav/lib/Comments
parent42625a46be495ea1c60ac8fe8e13946fd9ed9732 (diff)
downloadnextcloud-server-44577e4345066952622feca9ef69c24fc23d08ab.tar.gz
nextcloud-server-44577e4345066952622feca9ef69c24fc23d08ab.zip
Remove trailing and in between spaces
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/dav/lib/Comments')
-rw-r--r--apps/dav/lib/Comments/CommentNode.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/Comments/CommentNode.php b/apps/dav/lib/Comments/CommentNode.php
index d54f81b7a8e..d24c41409ba 100644
--- a/apps/dav/lib/Comments/CommentNode.php
+++ b/apps/dav/lib/Comments/CommentNode.php
@@ -131,7 +131,7 @@ class CommentNode implements \Sabre\DAV\INode, \Sabre\DAV\IProperties {
protected function checkWriteAccessOnComment() {
$user = $this->userSession->getUser();
- if( $this->comment->getActorType() !== 'users'
+ if($this->comment->getActorType() !== 'users'
|| is_null($user)
|| $this->comment->getActorId() !== $user->getUID()
) {