summaryrefslogtreecommitdiffstats
path: root/lib/private/Server.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-11-01 10:46:42 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2018-11-02 19:20:37 +0100
commit9c28d2d7c4705160d651842295c0eca9adc12d8e (patch)
tree5447b058203e83f03e853d9b155a44760c338e0c /lib/private/Server.php
parent964ebed86cb2ea4b91042f393d372bf74d0d1a03 (diff)
downloadnextcloud-server-9c28d2d7c4705160d651842295c0eca9adc12d8e.tar.gz
nextcloud-server-9c28d2d7c4705160d651842295c0eca9adc12d8e.zip
SearchResult should be difined in Server as it is a core component
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/Server.php')
-rw-r--r--lib/private/Server.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/Server.php b/lib/private/Server.php
index eb1a9025ff3..1c8ad012ef5 100644
--- a/lib/private/Server.php
+++ b/lib/private/Server.php
@@ -1084,6 +1084,7 @@ class Server extends ServerContainer implements IServerContainer {
return $instance;
});
$this->registerAlias('CollaboratorSearch', \OCP\Collaboration\Collaborators\ISearch::class);
+ $this->registerAlias(\OCP\Collaboration\Collaborators\ISearchResult::class, \OC\Collaboration\Collaborators\SearchResult::class);
$this->registerAlias(\OCP\Collaboration\AutoComplete\IManager::class, \OC\Collaboration\AutoComplete\Manager::class);