diff options
author | Julius Härtl <jus@bitgrid.net> | 2023-02-16 21:17:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-16 21:17:16 +0100 |
commit | 38ca4685023da0efd9b56faa8a8db22cbd6176bc (patch) | |
tree | c4fb9f51b8eb695bfa0e098e7cf871472ad2a1c0 | |
parent | a5443ac3f173d9e106ff908583df864557e3c4d1 (diff) | |
parent | 30858df737cfb6898895c7bc7e22e0f3545366cc (diff) | |
download | nextcloud-server-38ca4685023da0efd9b56faa8a8db22cbd6176bc.tar.gz nextcloud-server-38ca4685023da0efd9b56faa8a8db22cbd6176bc.zip |
Merge pull request #36515 from nextcloud/fix/sharees-remove-deck
-rw-r--r-- | apps/files_sharing/lib/Controller/ShareesAPIController.php | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/apps/files_sharing/lib/Controller/ShareesAPIController.php b/apps/files_sharing/lib/Controller/ShareesAPIController.php index 00e63ccb7b0..5a2e200c238 100644 --- a/apps/files_sharing/lib/Controller/ShareesAPIController.php +++ b/apps/files_sharing/lib/Controller/ShareesAPIController.php @@ -19,6 +19,7 @@ declare(strict_types=1); * @author Morris Jobke <hey@morrisjobke.de> * @author Robin Appelman <robin@icewind.nl> * @author Roeland Jago Douma <roeland@famdouma.nl> + * @author Kate Döen <kate.doeen@nextcloud.com> * * @license AGPL-3.0 * @@ -85,7 +86,6 @@ class ShareesAPIController extends OCSController { 'emails' => [], 'circles' => [], 'rooms' => [], - 'deck' => [], ], 'users' => [], 'groups' => [], @@ -95,7 +95,6 @@ class ShareesAPIController extends OCSController { 'lookup' => [], 'circles' => [], 'rooms' => [], - 'deck' => [], 'lookupEnabled' => false, ]; @@ -187,10 +186,6 @@ class ShareesAPIController extends OCSController { if ($this->shareManager->shareProviderExists(IShare::TYPE_ROOM)) { $shareTypes[] = IShare::TYPE_ROOM; } - - if ($this->shareManager->shareProviderExists(IShare::TYPE_DECK)) { - $shareTypes[] = IShare::TYPE_DECK; - } } else { if ($this->shareManager->allowGroupSharing()) { $shareTypes[] = IShare::TYPE_GROUP; @@ -203,10 +198,6 @@ class ShareesAPIController extends OCSController { $shareTypes[] = IShare::TYPE_CIRCLE; } - if ($this->shareManager->shareProviderExists(IShare::TYPE_DECK)) { - $shareTypes[] = IShare::TYPE_DECK; - } - if ($shareType !== null && is_array($shareType)) { $shareTypes = array_intersect($shareTypes, $shareType); } elseif (is_numeric($shareType)) { |