summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib
diff options
context:
space:
mode:
authorjld3103 <jld3103yt@gmail.com>2023-02-03 11:59:14 +0100
committerjld3103 <jld3103yt@gmail.com>2023-02-03 12:01:37 +0100
commit30858df737cfb6898895c7bc7e22e0f3545366cc (patch)
tree60a19942df6033f7fb4858698683f8369616847c /apps/files_sharing/lib
parent7ddb042f9df069df8981972e98a33e5f8f39cfef (diff)
downloadnextcloud-server-30858df737cfb6898895c7bc7e22e0f3545366cc.tar.gz
nextcloud-server-30858df737cfb6898895c7bc7e22e0f3545366cc.zip
Remove Deck from Sharees API
Signed-off-by: jld3103 <jld3103yt@gmail.com>
Diffstat (limited to 'apps/files_sharing/lib')
-rw-r--r--apps/files_sharing/lib/Controller/ShareesAPIController.php11
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)) {