diff options
author | Vincent Petry <pvince81@owncloud.com> | 2016-03-24 12:16:57 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2016-03-24 12:16:57 +0100 |
commit | 9ee1f506f210864c57f559d46f1bd4790f5c6f9e (patch) | |
tree | bcec72a9bb6006643c54b5d98cca6ad3f635106f /apps/dav/lib | |
parent | ea07a428f463a866b2c5e44e243a33d8980c8850 (diff) | |
download | nextcloud-server-9ee1f506f210864c57f559d46f1bd4790f5c6f9e.tar.gz nextcloud-server-9ee1f506f210864c57f559d46f1bd4790f5c6f9e.zip |
Return remote shares in oc:share-types Webdav property
Fixes web UI to properly display the share status icon when an outgoing
remote share exists
Diffstat (limited to 'apps/dav/lib')
-rw-r--r-- | apps/dav/lib/connector/sabre/sharesplugin.php | 3 |
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 f75c1378718..c76068969e9 100644 --- a/apps/dav/lib/connector/sabre/sharesplugin.php +++ b/apps/dav/lib/connector/sabre/sharesplugin.php @@ -116,7 +116,8 @@ class SharesPlugin extends \Sabre\DAV\ServerPlugin { $requestedShareTypes = [ \OCP\Share::SHARE_TYPE_USER, \OCP\Share::SHARE_TYPE_GROUP, - \OCP\Share::SHARE_TYPE_LINK + \OCP\Share::SHARE_TYPE_LINK, + \OCP\Share::SHARE_TYPE_REMOTE ]; foreach ($requestedShareTypes as $requestedShareType) { // one of each type is enough to find out about the types |