diff --git a/apps/files_versions/lib/Sabre/VersionHome.php b/apps/files_versions/lib/Sabre/VersionHome.php
index 7be5974bbbea4160d2d38471a33d9759df17c259..b4eb28e95c454f1c5078ad295e16f7fd236503e5 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() {