aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-04-06 09:40:13 +0200
committerMorris Jobke <hey@morrisjobke.de>2016-04-06 09:40:13 +0200
commit046506dd146f823499098d0d2b0042072e436469 (patch)
tree06820db8e0aac412105b5876f9fea6d38aac2fab
parent01b26d78a034db3917df09358c4dcb52d2761b64 (diff)
parentd3959ee1526d550e2d0c6e8e2d951635047e9cb9 (diff)
downloadnextcloud-server-046506dd146f823499098d0d2b0042072e436469.tar.gz
nextcloud-server-046506dd146f823499098d0d2b0042072e436469.zip
Merge pull request #23763 from owncloud/do_not_export_share_type_2
Share type 2 is private
-rw-r--r--lib/private/Share20/ProviderFactory.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/private/Share20/ProviderFactory.php b/lib/private/Share20/ProviderFactory.php
index 4cb1ac71a88..96203104f74 100644
--- a/lib/private/Share20/ProviderFactory.php
+++ b/lib/private/Share20/ProviderFactory.php
@@ -144,9 +144,7 @@ class ProviderFactory implements IProviderFactory {
public function getProviderForType($shareType) {
$provider = null;
- //FIXME we should not report type 2
if ($shareType === \OCP\Share::SHARE_TYPE_USER ||
- $shareType === 2 ||
$shareType === \OCP\Share::SHARE_TYPE_GROUP ||
$shareType === \OCP\Share::SHARE_TYPE_LINK) {
$provider = $this->defaultShareProvider();