aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-11-28 12:13:34 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2016-11-30 09:21:58 +0100
commit1aa874e4e317bf4eab08c4e1e6f981890b4d8fc6 (patch)
tree14074e8b2db36086f3ef33e5a9d78800e28f14ed /apps/dav
parent15ca00c66e5b803b9699bee1ca78182c39e66c87 (diff)
downloadnextcloud-server-1aa874e4e317bf4eab08c4e1e6f981890b4d8fc6.tar.gz
nextcloud-server-1aa874e4e317bf4eab08c4e1e6f981890b4d8fc6.zip
Also get infos about email shares
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/dav')
-rw-r--r--apps/dav/lib/Connector/Sabre/SharesPlugin.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/dav/lib/Connector/Sabre/SharesPlugin.php b/apps/dav/lib/Connector/Sabre/SharesPlugin.php
index 33e79364758..4df8c9f85a5 100644
--- a/apps/dav/lib/Connector/Sabre/SharesPlugin.php
+++ b/apps/dav/lib/Connector/Sabre/SharesPlugin.php
@@ -120,7 +120,8 @@ class SharesPlugin extends \Sabre\DAV\ServerPlugin {
\OCP\Share::SHARE_TYPE_USER,
\OCP\Share::SHARE_TYPE_GROUP,
\OCP\Share::SHARE_TYPE_LINK,
- \OCP\Share::SHARE_TYPE_REMOTE
+ \OCP\Share::SHARE_TYPE_REMOTE,
+ \OCP\Share::SHARE_TYPE_EMAIL,
];
foreach ($requestedShareTypes as $requestedShareType) {
// one of each type is enough to find out about the types