aboutsummaryrefslogtreecommitdiffstats
path: root/apps/federatedfilesharing/lib
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2018-06-13 14:46:23 +0200
committerBjoern Schiessle <bjoern@schiessle.org>2018-07-02 11:29:31 +0200
commit8d4da30bf59ca12a81f13ea93b7fdd6c84cb1c2b (patch)
treef75a4963116fad8d33513f1a84f033e38cc9b3d4 /apps/federatedfilesharing/lib
parente251b34a8c5ba0c06ff8eecf73374895180f7d03 (diff)
downloadnextcloud-server-8d4da30bf59ca12a81f13ea93b7fdd6c84cb1c2b.tar.gz
nextcloud-server-8d4da30bf59ca12a81f13ea93b7fdd6c84cb1c2b.zip
add support for different share types
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'apps/federatedfilesharing/lib')
-rw-r--r--apps/federatedfilesharing/lib/ocm/CloudFederationProviderFiles.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/federatedfilesharing/lib/ocm/CloudFederationProviderFiles.php b/apps/federatedfilesharing/lib/ocm/CloudFederationProviderFiles.php
index 8191d5065c0..cf40a6381dc 100644
--- a/apps/federatedfilesharing/lib/ocm/CloudFederationProviderFiles.php
+++ b/apps/federatedfilesharing/lib/ocm/CloudFederationProviderFiles.php
@@ -764,4 +764,14 @@ class CloudFederationProviderFiles implements ICloudFederationProvider {
}
+ /**
+ * get the supported share types, e.g. "user", "group", etc.
+ *
+ * @return array
+ *
+ * @since 14.0.0
+ */
+ public function getSupportedShareTypes() {
+ return ['user'];
+ }
}