From 79507435fa053333dc5fcf63612ce4d98cdd0e75 Mon Sep 17 00:00:00 2001 From: jld3103 Date: Thu, 16 Mar 2023 09:50:08 +0100 Subject: [PATCH] Fix controller class import for autocomplete Signed-off-by: jld3103 --- core/Controller/AutoCompleteController.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/Controller/AutoCompleteController.php b/core/Controller/AutoCompleteController.php index f7174456731..b23b519621e 100644 --- a/core/Controller/AutoCompleteController.php +++ b/core/Controller/AutoCompleteController.php @@ -10,6 +10,7 @@ declare(strict_types=1); * @author Joas Schilling * @author John Molakvoæ * @author Roeland Jago Douma + * @author Kate Döen * * @license GNU AGPL version 3 or any later version * @@ -30,7 +31,7 @@ declare(strict_types=1); namespace OC\Core\Controller; use OCP\AppFramework\Http\DataResponse; -use OCP\AppFramework\OCSController as Controller; +use OCP\AppFramework\OCSController; use OCP\Collaboration\AutoComplete\AutoCompleteEvent; use OCP\Collaboration\AutoComplete\IManager; use OCP\Collaboration\Collaborators\ISearch; @@ -38,7 +39,7 @@ use OCP\EventDispatcher\IEventDispatcher; use OCP\IRequest; use OCP\Share\IShare; -class AutoCompleteController extends Controller { +class AutoCompleteController extends OCSController { private ISearch $collaboratorSearch; private IManager $autoCompleteManager; private IEventDispatcher $dispatcher; -- 2.39.5