summaryrefslogtreecommitdiffstats
path: root/lib/private/Share20
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2020-12-03 16:03:09 +0100
committerJulius Härtl <jus@bitgrid.net>2020-12-09 13:20:23 +0100
commitf2f3ad733f4b29e1595bbececf3e19f0ff052b70 (patch)
tree63c756f43451be105b5e76b4f3416c05ecf28491 /lib/private/Share20
parente906138d8da5908917fb523cb3e3484372cea16b (diff)
downloadnextcloud-server-f2f3ad733f4b29e1595bbececf3e19f0ff052b70.tar.gz
nextcloud-server-f2f3ad733f4b29e1595bbececf3e19f0ff052b70.zip
Dummy general share checks for deck
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/private/Share20')
-rw-r--r--lib/private/Share20/Manager.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/Share20/Manager.php b/lib/private/Share20/Manager.php
index 9f2d885f4fb..6b782237b8c 100644
--- a/lib/private/Share20/Manager.php
+++ b/lib/private/Share20/Manager.php
@@ -248,6 +248,7 @@ class Manager implements IManager {
throw new \InvalidArgumentException('SharedWith is not a valid circle');
}
} elseif ($share->getShareType() === IShare::TYPE_ROOM) {
+ } elseif ($share->getShareType() === IShare::TYPE_DECK) {
} else {
// We can't handle other types yet
throw new \InvalidArgumentException('unknown share type');