From f71ffc73dbbf4c75522960c95a7f7500466041f4 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Wed, 26 Sep 2018 18:59:52 +0200 Subject: Remove unused constructor argument Signed-off-by: Christoph Wurst --- lib/private/Server.php | 1 - lib/private/Settings/Manager.php | 6 ------ 2 files changed, 7 deletions(-) (limited to 'lib') diff --git a/lib/private/Server.php b/lib/private/Server.php index 533c2c2233f..c79f16567d8 100644 --- a/lib/private/Server.php +++ b/lib/private/Server.php @@ -1081,7 +1081,6 @@ class Server extends ServerContainer implements IServerContainer { $this->registerService('SettingsManager', function (Server $c) { $manager = new \OC\Settings\Manager( $c->getLogger(), - $c->getDatabaseConnection(), $c->getL10N('lib'), $c->getURLGenerator(), $c diff --git a/lib/private/Settings/Manager.php b/lib/private/Settings/Manager.php index e3cbc1b672f..48883582ef4 100644 --- a/lib/private/Settings/Manager.php +++ b/lib/private/Settings/Manager.php @@ -30,7 +30,6 @@ namespace OC\Settings; use OCP\AppFramework\QueryException; -use OCP\IDBConnection; use OCP\IL10N; use OCP\ILogger; use OCP\IServerContainer; @@ -44,9 +43,6 @@ class Manager implements IManager { /** @var ILogger */ private $log; - /** @var IDBConnection */ - private $dbc; - /** @var IL10N */ private $l; @@ -58,13 +54,11 @@ class Manager implements IManager { public function __construct( ILogger $log, - IDBConnection $dbc, IL10N $l10n, IURLGenerator $url, IServerContainer $container ) { $this->log = $log; - $this->dbc = $dbc; $this->l = $l10n; $this->url = $url; $this->container = $container; -- cgit v1.2.3