From bcf1668cc89441773316bde04d0affb287433da2 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Tue, 13 Feb 2018 21:40:30 +0100 Subject: Remove config from AutoCompleteController Signed-off-by: Morris Jobke --- core/Controller/AutoCompleteController.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'core/Controller') diff --git a/core/Controller/AutoCompleteController.php b/core/Controller/AutoCompleteController.php index 1619f9b9edd..93ab9291322 100644 --- a/core/Controller/AutoCompleteController.php +++ b/core/Controller/AutoCompleteController.php @@ -27,7 +27,6 @@ use OCP\AppFramework\Controller; use OCP\AppFramework\Http\DataResponse; use OCP\Collaboration\AutoComplete\IManager; use OCP\Collaboration\Collaborators\ISearch; -use OCP\IConfig; use OCP\IRequest; use OCP\Share; @@ -36,21 +35,17 @@ class AutoCompleteController extends Controller { private $collaboratorSearch; /** @var IManager */ private $autoCompleteManager; - /** @var IConfig */ - private $config; public function __construct( $appName, IRequest $request, ISearch $collaboratorSearch, - IManager $autoCompleteManager, - IConfig $config + IManager $autoCompleteManager ) { parent::__construct($appName, $request); $this->collaboratorSearch = $collaboratorSearch; $this->autoCompleteManager = $autoCompleteManager; - $this->config = $config; } /** -- cgit v1.2.3