summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-02-13 21:40:30 +0100
committerMorris Jobke <hey@morrisjobke.de>2018-02-13 21:40:30 +0100
commitbcf1668cc89441773316bde04d0affb287433da2 (patch)
tree3d3d1b8f049fdc64632c8bd5d917a248f94e3ffe /core
parentb7c944fac11f6a975ec230e7e060d6f52591d7d2 (diff)
downloadnextcloud-server-bcf1668cc89441773316bde04d0affb287433da2.tar.gz
nextcloud-server-bcf1668cc89441773316bde04d0affb287433da2.zip
Remove config from AutoCompleteController
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'core')
-rw-r--r--core/Controller/AutoCompleteController.php7
1 files changed, 1 insertions, 6 deletions
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;
}
/**