summaryrefslogtreecommitdiffstats
path: root/lib/private/Collaboration/Collaborators/Search.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Collaboration/Collaborators/Search.php')
-rw-r--r--lib/private/Collaboration/Collaborators/Search.php9
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/private/Collaboration/Collaborators/Search.php b/lib/private/Collaboration/Collaborators/Search.php
index 5a17a3fb653..e9b15dd1201 100644
--- a/lib/private/Collaboration/Collaborators/Search.php
+++ b/lib/private/Collaboration/Collaborators/Search.php
@@ -34,12 +34,7 @@ class Search implements ISearch {
/** @var IContainer */
private $c;
- protected $pluginList = [
- Share::SHARE_TYPE_USER => [UserPlugin::class],
- Share::SHARE_TYPE_GROUP => [GroupPlugin::class],
- Share::SHARE_TYPE_EMAIL => [MailPlugin::class],
- Share::SHARE_TYPE_REMOTE => [RemotePlugin::class],
- ];
+ protected $pluginList = [];
public function __construct(IContainer $c) {
$this->c = $c;
@@ -81,7 +76,7 @@ class Search implements ISearch {
$searchResult->unsetResult($emailType);
}
- return [$searchResult->asArray(), $hasMoreResults];
+ return [$searchResult->asArray(), (bool)$hasMoreResults];
}
public function registerPlugin(array $pluginInfo) {