diff options
author | Joas Schilling <coding@schilljs.com> | 2020-06-16 21:14:42 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-07-01 09:57:33 +0200 |
commit | 35c6b1236fdb2d90e55315dc0c92b5ecb20641e7 (patch) | |
tree | c9c5d8b535abaae6fea24be1c0b458ed65cc6d93 /core/Controller/AutoCompleteController.php | |
parent | ebedbf157968e40230a102c8f6f17c22990b0aae (diff) | |
download | nextcloud-server-35c6b1236fdb2d90e55315dc0c92b5ecb20641e7.tar.gz nextcloud-server-35c6b1236fdb2d90e55315dc0c92b5ecb20641e7.zip |
Move AutoComplete::filterResults to new event dispatcher and GenericEvent
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core/Controller/AutoCompleteController.php')
-rw-r--r-- | core/Controller/AutoCompleteController.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/core/Controller/AutoCompleteController.php b/core/Controller/AutoCompleteController.php index aa67ff9a30a..56ad21f421c 100644 --- a/core/Controller/AutoCompleteController.php +++ b/core/Controller/AutoCompleteController.php @@ -34,17 +34,16 @@ use OCP\AppFramework\OCSController as Controller; use OCP\Collaboration\AutoComplete\AutoCompleteEvent; use OCP\Collaboration\AutoComplete\IManager; use OCP\Collaboration\Collaborators\ISearch; +use OCP\EventDispatcher\IEventDispatcher; use OCP\IRequest; -use OCP\Share; use OCP\Share\IShare; -use Symfony\Component\EventDispatcher\EventDispatcherInterface; class AutoCompleteController extends Controller { /** @var ISearch */ private $collaboratorSearch; /** @var IManager */ private $autoCompleteManager; - /** @var EventDispatcherInterface */ + /** @var IEventDispatcher */ private $dispatcher; public function __construct( @@ -52,7 +51,7 @@ class AutoCompleteController extends Controller { IRequest $request, ISearch $collaboratorSearch, IManager $autoCompleteManager, - EventDispatcherInterface $dispatcher + IEventDispatcher $dispatcher ) { parent::__construct($appName, $request); |