diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2020-07-03 10:03:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-03 10:03:34 +0200 |
commit | 19e1efd1dd81620819898d3d18a4d96c61380f22 (patch) | |
tree | 217af041ab8af6e105d54c220959508496ad382d /core | |
parent | ffc85ad61420acb1b66646b57f035f8c461c64ac (diff) | |
parent | 35c6b1236fdb2d90e55315dc0c92b5ecb20641e7 (diff) | |
download | nextcloud-server-19e1efd1dd81620819898d3d18a4d96c61380f22.tar.gz nextcloud-server-19e1efd1dd81620819898d3d18a4d96c61380f22.zip |
Merge pull request #21439 from nextcloud/feature/noid/move-autocomplete-filter-event-to-new-dispatcher-and-class
Move AutoComplete::filterResults to new event dispatcher and GenericE…
Diffstat (limited to 'core')
-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); |