diff options
author | Bjoern Schiessle <bjoern@schiessle.org> | 2018-07-04 10:39:13 +0200 |
---|---|---|
committer | Bjoern Schiessle <bjoern@schiessle.org> | 2018-07-11 10:11:48 +0200 |
commit | 3942d731d21e6369c395358699a9561519992069 (patch) | |
tree | 0f310ce8856af82c1f279a1e1e6f323cba9f1483 /apps/files_sharing/lib/ShareBackend | |
parent | 5b06a7d773d303a9b01c98eb714fd1829129646f (diff) | |
download | nextcloud-server-3942d731d21e6369c395358699a9561519992069.tar.gz nextcloud-server-3942d731d21e6369c395358699a9561519992069.zip |
update unit tests
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'apps/files_sharing/lib/ShareBackend')
-rw-r--r-- | apps/files_sharing/lib/ShareBackend/File.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/files_sharing/lib/ShareBackend/File.php b/apps/files_sharing/lib/ShareBackend/File.php index bb28c1a33ac..bd32741e67e 100644 --- a/apps/files_sharing/lib/ShareBackend/File.php +++ b/apps/files_sharing/lib/ShareBackend/File.php @@ -195,6 +195,10 @@ class File implements \OCP\Share_Backend_File_Dependent { return $this->federatedShareProvider->isOutgoingServer2serverShareEnabled(); } + if ($shareType === \OCP\Share::SHARE_TYPE_REMOTE_GROUP) { + return $this->federatedShareProvider->isOutgoingServer2serverGroupShareEnabled(); + } + return true; } |