From fbe35c346db379cbf7ec0b5a5400c98f59fd2ab3 Mon Sep 17 00:00:00 2001
From: Robin Appelman <robin@icewind.nl>
Date: Thu, 15 Nov 2018 17:17:54 +0100
Subject: [PATCH] actually return the user when creating version dav nodes

Signed-off-by: Robin Appelman <robin@icewind.nl>
---
 apps/files_versions/lib/Sabre/VersionHome.php | 1 +
 1 file changed, 1 insertion(+)

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() {
-- 
GitLab