mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 23:03:00 -04:00
fix(files_sharing): Also list deleted team shares
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
parent
dd37d1f87b
commit
77ba2a6d75
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue