diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2025-02-20 14:32:22 +0100 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2025-02-20 15:02:48 +0000 |
commit | 77ba2a6d757ecb2d36f7209348f0c2f5e0360908 (patch) | |
tree | 7af22648847b7718f7d45d60230e789d2ded0967 | |
parent | dd37d1f87b6a3104548fb0ce491c1a63ca0f128e (diff) | |
download | nextcloud-server-backport/50922/stable31.tar.gz nextcloud-server-backport/50922/stable31.zip |
fix(files_sharing): Also list deleted team sharesbackport/50922/stable31
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
-rw-r--r-- | apps/files_sharing/lib/Controller/DeletedShareAPIController.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/Controller/DeletedShareAPIController.php b/apps/files_sharing/lib/Controller/DeletedShareAPIController.php index fcd33bd88e6..c4cf09d6f03 100644 --- a/apps/files_sharing/lib/Controller/DeletedShareAPIController.php +++ b/apps/files_sharing/lib/Controller/DeletedShareAPIController.php @@ -142,11 +142,12 @@ class DeletedShareAPIController extends OCSController { #[NoAdminRequired] public function index(): DataResponse { $groupShares = $this->shareManager->getDeletedSharedWith($this->userId, IShare::TYPE_GROUP, null, -1, 0); + $teamShares = $this->shareManager->getDeletedSharedWith($this->userId, IShare::TYPE_CIRCLE, null, -1, 0); $roomShares = $this->shareManager->getDeletedSharedWith($this->userId, IShare::TYPE_ROOM, null, -1, 0); $deckShares = $this->shareManager->getDeletedSharedWith($this->userId, IShare::TYPE_DECK, null, -1, 0); $sciencemeshShares = $this->shareManager->getDeletedSharedWith($this->userId, IShare::TYPE_SCIENCEMESH, null, -1, 0); - $shares = array_merge($groupShares, $roomShares, $deckShares, $sciencemeshShares); + $shares = array_merge($groupShares, $teamShares, $roomShares, $deckShares, $sciencemeshShares); $shares = array_values(array_map(function (IShare $share) { return $this->formatShare($share); |