diff options
author | Côme Chilliet <91878298+come-nc@users.noreply.github.com> | 2022-09-29 18:56:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-29 18:56:39 +0200 |
commit | fba6f2597a3c4ddb20efbba04430f770eb53ff55 (patch) | |
tree | 7c51d81cfa27876eb3cfb4eed64a0e47a16e34d7 /lib/private/Files/View.php | |
parent | 396949705912d1d88c615fb95f3e822ce009b660 (diff) | |
parent | 92a5a8f075fe5e6b72037cc4a668090d3a8cacf5 (diff) | |
download | nextcloud-server-fba6f2597a3c4ddb20efbba04430f770eb53ff55.tar.gz nextcloud-server-fba6f2597a3c4ddb20efbba04430f770eb53ff55.zip |
Merge pull request #32012 from nextcloud/cleanup/tags
Cleanup tags and share component
Diffstat (limited to 'lib/private/Files/View.php')
-rw-r--r-- | lib/private/Files/View.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/private/Files/View.php b/lib/private/Files/View.php index e5394e72ffe..294912e698b 100644 --- a/lib/private/Files/View.php +++ b/lib/private/Files/View.php @@ -50,6 +50,8 @@ use Icewind\Streams\CallbackWrapper; use OC\Files\Mount\MoveableMount; use OC\Files\Storage\Storage; use OC\User\LazyUser; +use OC\Share\Share; +use OC\User\User; use OCA\Files_Sharing\SharedMount; use OCP\Constants; use OCP\Files\Cache\ICacheEntry; @@ -1800,10 +1802,10 @@ class View { } // check if any of the parents were shared by the current owner (include collections) - $shares = \OCP\Share::getItemShared( + $shares = Share::getItemShared( 'folder', $fileId, - \OCP\Share::FORMAT_NONE, + \OC\Share\Constants::FORMAT_NONE, null, true ); |