aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Share20/ProviderFactory.php
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2020-12-03 15:52:43 +0100
committerJulius Härtl <jus@bitgrid.net>2020-12-09 13:20:23 +0100
commitfcc0d358959f9134ad5f2023f66fa833f6383fba (patch)
treef130ac9ada93fb64dd40baebd17c2c7da4faf880 /lib/private/Share20/ProviderFactory.php
parentfdea545415f63c9b3dba8af9badb698f4d23e670 (diff)
downloadnextcloud-server-fcc0d358959f9134ad5f2023f66fa833f6383fba.tar.gz
nextcloud-server-fcc0d358959f9134ad5f2023f66fa833f6383fba.zip
Add share type for deck
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/private/Share20/ProviderFactory.php')
-rw-r--r--lib/private/Share20/ProviderFactory.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/Share20/ProviderFactory.php b/lib/private/Share20/ProviderFactory.php
index 933125c10b4..db333ee99a2 100644
--- a/lib/private/Share20/ProviderFactory.php
+++ b/lib/private/Share20/ProviderFactory.php
@@ -318,6 +318,8 @@ class ProviderFactory implements IProviderFactory {
$provider = $this->getShareByCircleProvider();
} elseif ($shareType === IShare::TYPE_ROOM) {
$provider = $this->getRoomShareProvider();
+ } elseif ($shareType === IShare::TYPE_DECK) {
+ $provider = $this->getProvider('deck');
}