diff options
author | jld3103 <jld3103yt@gmail.com> | 2023-03-16 09:50:08 +0100 |
---|---|---|
committer | jld3103 <jld3103yt@gmail.com> | 2023-03-16 09:50:43 +0100 |
commit | 79507435fa053333dc5fcf63612ce4d98cdd0e75 (patch) | |
tree | a0343ce27f8f2c2fb779cac06f7bc2c2edc6d2a7 /core/Controller | |
parent | 15b80b6c1ab1d9fc122c4c04dd48c49c1a5d5219 (diff) | |
download | nextcloud-server-79507435fa053333dc5fcf63612ce4d98cdd0e75.tar.gz nextcloud-server-79507435fa053333dc5fcf63612ce4d98cdd0e75.zip |
Fix controller class import for autocomplete
Signed-off-by: jld3103 <jld3103yt@gmail.com>
Diffstat (limited to 'core/Controller')
-rw-r--r-- | core/Controller/AutoCompleteController.php | 5 |
1 files 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 <coding@schilljs.com> * @author John Molakvoæ <skjnldsv@protonmail.com> * @author Roeland Jago Douma <roeland@famdouma.nl> + * @author Kate Döen <kate.doeen@nextcloud.com> * * @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; |