diff options
author | Carl Schwan <carl@carlschwan.eu> | 2021-07-14 14:48:23 +0200 |
---|---|---|
committer | Carl Schwan <carl@carlschwan.eu> | 2021-07-23 10:07:38 +0200 |
commit | 701b57b81d698a4933d9d04aa1aff85734816dfa (patch) | |
tree | 6818c1eb7e076a27b4cd04316eb2511a2deeed3a /apps/files_versions/lib/Sabre/VersionRoot.php | |
parent | 5579aaa7cb18b8d4832d831c20d70fb4d5189e66 (diff) | |
download | nextcloud-server-701b57b81d698a4933d9d04aa1aff85734816dfa.tar.gz nextcloud-server-701b57b81d698a4933d9d04aa1aff85734816dfa.zip |
Remove allmost all deprecation from the files_version app
The remaining deprecations are related to Utils::hooks and I will take a
look at how EventDispatcher works before working on them.
Aside from the deprecations, this patch also does a few minor
improvements around type hinting.
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'apps/files_versions/lib/Sabre/VersionRoot.php')
-rw-r--r-- | apps/files_versions/lib/Sabre/VersionRoot.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_versions/lib/Sabre/VersionRoot.php b/apps/files_versions/lib/Sabre/VersionRoot.php index cc9b1a2abb3..69ac12ed8e9 100644 --- a/apps/files_versions/lib/Sabre/VersionRoot.php +++ b/apps/files_versions/lib/Sabre/VersionRoot.php @@ -87,7 +87,7 @@ class VersionRoot implements ICollection { throw new NotFound(); } - return new VersionCollection($userFolder, $node, $this->user, $this->versionManager); + return new VersionCollection($node, $this->user, $this->versionManager); } public function getChildren(): array { |