Merge pull request #23763 from owncloud/do_not_export_share_type_2
Share type 2 is private
This commit is contained in:
commit
046506dd14
|
@ -144,9 +144,7 @@ class ProviderFactory implements IProviderFactory {
|
||||||
public function getProviderForType($shareType) {
|
public function getProviderForType($shareType) {
|
||||||
$provider = null;
|
$provider = null;
|
||||||
|
|
||||||
//FIXME we should not report type 2
|
|
||||||
if ($shareType === \OCP\Share::SHARE_TYPE_USER ||
|
if ($shareType === \OCP\Share::SHARE_TYPE_USER ||
|
||||||
$shareType === 2 ||
|
|
||||||
$shareType === \OCP\Share::SHARE_TYPE_GROUP ||
|
$shareType === \OCP\Share::SHARE_TYPE_GROUP ||
|
||||||
$shareType === \OCP\Share::SHARE_TYPE_LINK) {
|
$shareType === \OCP\Share::SHARE_TYPE_LINK) {
|
||||||
$provider = $this->defaultShareProvider();
|
$provider = $this->defaultShareProvider();
|
||||||
|
|
Loading…
Reference in New Issue