Skip to content
Snippets Groups Projects
Unverified Commit fcc0d358 authored by Julius Härtl's avatar Julius Härtl
Browse files

Add share type for deck


Signed-off-by: default avatarJulius Härtl <jus@bitgrid.net>
parent fdea5454
No related branches found
No related tags found
No related merge requests found
...@@ -318,6 +318,8 @@ class ProviderFactory implements IProviderFactory { ...@@ -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');
} }
......
...@@ -105,6 +105,11 @@ interface IShare { ...@@ -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
*/ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment