summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Connector/Sabre/FilesPlugin.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav/lib/Connector/Sabre/FilesPlugin.php')
-rw-r--r--apps/dav/lib/Connector/Sabre/FilesPlugin.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/dav/lib/Connector/Sabre/FilesPlugin.php b/apps/dav/lib/Connector/Sabre/FilesPlugin.php
index a3a0893259b..b5333f48374 100644
--- a/apps/dav/lib/Connector/Sabre/FilesPlugin.php
+++ b/apps/dav/lib/Connector/Sabre/FilesPlugin.php
@@ -340,8 +340,7 @@ class FilesPlugin extends ServerPlugin {
});
$propFind->handle(self::IS_ENCRYPTED_PROPERTYNAME, function() use ($node) {
- $result = $node->getFileInfo()->isEncrypted() ? '1' : '0';
- return $result;
+ return $node->getFileInfo()->isEncrypted() ? '1' : '0';
});
$propFind->handle(self::HAS_PREVIEW_PROPERTYNAME, function () use ($node) {