Add share type for deck

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

View File

@ -318,6 +318,8 @@ class ProviderFactory implements IProviderFactory {
$provider = $this->getShareByCircleProvider(); $provider = $this->getShareByCircleProvider();
} elseif ($shareType === IShare::TYPE_ROOM) { } elseif ($shareType === IShare::TYPE_ROOM) {
$provider = $this->getRoomShareProvider(); $provider = $this->getRoomShareProvider();
} elseif ($shareType === IShare::TYPE_DECK) {
$provider = $this->getProvider('deck');
} }

View File

@ -105,6 +105,11 @@ interface IShare {
*/ */
// const TYPE_USERROOM = 11; // const TYPE_USERROOM = 11;
/**
* @since 21.0.0
*/
public const TYPE_DECK = 12;
/** /**
* @since 18.0.0 * @since 18.0.0
*/ */