Dummy general share checks for deck

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2020-12-03 16:03:09 +01:00
parent e906138d8d
commit f2f3ad733f
No known key found for this signature in database
GPG Key ID: 4C614C6ED2CDE6DF
1 changed files with 1 additions and 0 deletions

View File

@ -248,6 +248,7 @@ class Manager implements IManager {
throw new \InvalidArgumentException('SharedWith is not a valid circle'); throw new \InvalidArgumentException('SharedWith is not a valid circle');
} }
} elseif ($share->getShareType() === IShare::TYPE_ROOM) { } elseif ($share->getShareType() === IShare::TYPE_ROOM) {
} elseif ($share->getShareType() === IShare::TYPE_DECK) {
} else { } else {
// We can't handle other types yet // We can't handle other types yet
throw new \InvalidArgumentException('unknown share type'); throw new \InvalidArgumentException('unknown share type');