aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2018-11-15 17:17:54 +0100
committerRobin Appelman <robin@icewind.nl>2018-11-15 17:17:54 +0100
commitfbe35c346db379cbf7ec0b5a5400c98f59fd2ab3 (patch)
treeec1beaf78e07a65ef580eae3818ba3a11c108b7d
parenta4d81ba1641db8136b13d2bb7b7c0176c916ec7e (diff)
downloadnextcloud-server-fbe35c346db379cbf7ec0b5a5400c98f59fd2ab3.tar.gz
nextcloud-server-fbe35c346db379cbf7ec0b5a5400c98f59fd2ab3.zip
actually return the user when creating version dav nodes
Signed-off-by: Robin Appelman <robin@icewind.nl>
-rw-r--r--apps/files_versions/lib/Sabre/VersionHome.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_versions/lib/Sabre/VersionHome.php b/apps/files_versions/lib/Sabre/VersionHome.php
index 7be5974bbbe..b4eb28e95c4 100644
--- a/apps/files_versions/lib/Sabre/VersionHome.php
+++ b/apps/files_versions/lib/Sabre/VersionHome.php
@@ -57,6 +57,7 @@ class VersionHome implements ICollection {
if (!$user) {
throw new NoUserException();
}
+ return $user;
}
public function delete() {