diff options
author | Robin Appelman <robin@icewind.nl> | 2023-09-04 14:05:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-04 14:05:14 +0200 |
commit | 64f62f7cfd9c84090dcb78106ad692c5cb75ee20 (patch) | |
tree | ce1864c2425c4dcae22b9438352e1cff6ba44310 /lib/private/Files/ObjectStore | |
parent | 489a57e9a382ac72ee46d8740506f4e8f607d131 (diff) | |
parent | e73889a24099091810a66623ded57346692ae2d6 (diff) | |
download | nextcloud-server-64f62f7cfd9c84090dcb78106ad692c5cb75ee20.tar.gz nextcloud-server-64f62f7cfd9c84090dcb78106ad692c5cb75ee20.zip |
Merge pull request #39863 from nextcloud/sharing-mask-wrapper
move share permission logic to storage wrapper
Diffstat (limited to 'lib/private/Files/ObjectStore')
-rw-r--r-- | lib/private/Files/ObjectStore/HomeObjectStoreStorage.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/Files/ObjectStore/HomeObjectStoreStorage.php b/lib/private/Files/ObjectStore/HomeObjectStoreStorage.php index 824adcc1d0e..b361249ff47 100644 --- a/lib/private/Files/ObjectStore/HomeObjectStoreStorage.php +++ b/lib/private/Files/ObjectStore/HomeObjectStoreStorage.php @@ -26,6 +26,7 @@ namespace OC\Files\ObjectStore; use OC\User\User; +use OCP\IUser; class HomeObjectStoreStorage extends ObjectStoreStorage implements \OCP\Files\IHomeStorage { /** @@ -61,7 +62,7 @@ class HomeObjectStoreStorage extends ObjectStoreStorage implements \OCP\Files\IH * @param string $path, optional * @return \OC\User\User */ - public function getUser($path = null) { + public function getUser($path = null): IUser { return $this->user; } } |