summaryrefslogtreecommitdiffstats
path: root/lib/private/Collaboration/Collaborators/RemoteGroupPlugin.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Collaboration/Collaborators/RemoteGroupPlugin.php')
-rw-r--r--lib/private/Collaboration/Collaborators/RemoteGroupPlugin.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/Collaboration/Collaborators/RemoteGroupPlugin.php b/lib/private/Collaboration/Collaborators/RemoteGroupPlugin.php
index 777af6093db..17e7793a685 100644
--- a/lib/private/Collaboration/Collaborators/RemoteGroupPlugin.php
+++ b/lib/private/Collaboration/Collaborators/RemoteGroupPlugin.php
@@ -30,6 +30,7 @@ use OCP\Collaboration\Collaborators\SearchResultType;
use OCP\Federation\ICloudFederationProviderManager;
use OCP\Federation\ICloudIdManager;
use OCP\Share;
+use OCP\Share\IShare;
class RemoteGroupPlugin implements ISearchPlugin {
protected $shareeEnumeration;
@@ -63,7 +64,7 @@ class RemoteGroupPlugin implements ISearchPlugin {
'guid' => $remoteGroup,
'name' => $remoteGroup,
'value' => [
- 'shareType' => Share::SHARE_TYPE_REMOTE_GROUP,
+ 'shareType' => IShare::TYPE_REMOTE_GROUP,
'shareWith' => $search,
'server' => $serverUrl,
],