Dummy general share checks for deck
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
e906138d8d
commit
f2f3ad733f
|
@ -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');
|
||||||
|
|
Loading…
Reference in New Issue