summaryrefslogtreecommitdiffstats
path: root/lib/private/Collaboration/Collaborators/GroupPlugin.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Collaboration/Collaborators/GroupPlugin.php')
-rw-r--r--lib/private/Collaboration/Collaborators/GroupPlugin.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/private/Collaboration/Collaborators/GroupPlugin.php b/lib/private/Collaboration/Collaborators/GroupPlugin.php
index 4816fdd7c04..d4051cab36f 100644
--- a/lib/private/Collaboration/Collaborators/GroupPlugin.php
+++ b/lib/private/Collaboration/Collaborators/GroupPlugin.php
@@ -34,7 +34,7 @@ use OCP\IConfig;
use OCP\IGroup;
use OCP\IGroupManager;
use OCP\IUserSession;
-use OCP\Share;
+use OCP\Share\IShare;
class GroupPlugin implements ISearchPlugin {
protected $shareeEnumeration;
@@ -95,7 +95,7 @@ class GroupPlugin implements ISearchPlugin {
$result['exact'][] = [
'label' => $group->getDisplayName(),
'value' => [
- 'shareType' => Share::SHARE_TYPE_GROUP,
+ 'shareType' => IShare::TYPE_GROUP,
'shareWith' => $gid,
],
];
@@ -106,7 +106,7 @@ class GroupPlugin implements ISearchPlugin {
$result['wide'][] = [
'label' => $group->getDisplayName(),
'value' => [
- 'shareType' => Share::SHARE_TYPE_GROUP,
+ 'shareType' => IShare::TYPE_GROUP,
'shareWith' => $gid,
],
];
@@ -121,7 +121,7 @@ class GroupPlugin implements ISearchPlugin {
$result['exact'][] = [
'label' => $group->getDisplayName(),
'value' => [
- 'shareType' => Share::SHARE_TYPE_GROUP,
+ 'shareType' => IShare::TYPE_GROUP,
'shareWith' => $group->getGID(),
],
];