diff options
author | Carl Schwan <carl@carlschwan.eu> | 2021-07-13 21:32:19 +0300 |
---|---|---|
committer | Carl Schwan <carl@carlschwan.eu> | 2021-07-13 21:32:19 +0300 |
commit | 5ff31ecd6bcfb44dcb60680d63e3f2fc3224cdd9 (patch) | |
tree | d7f139533e6e669e2a4ee215b408c0f7f71739c1 /apps/accessibility | |
parent | 2a0bd663845bb8cd02fc7a507774851c0a11c69e (diff) |
[Accessibility App]: Remove unused parameters in settings class
These two parameters weren't used, no need to load them
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'apps/accessibility')
-rw-r--r-- | apps/accessibility/lib/Settings/Personal.php | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/apps/accessibility/lib/Settings/Personal.php b/apps/accessibility/lib/Settings/Personal.php index 68d0adbdb96..00653d48571 100644 --- a/apps/accessibility/lib/Settings/Personal.php +++ b/apps/accessibility/lib/Settings/Personal.php @@ -29,8 +29,6 @@ use OCA\Accessibility\AccessibilityProvider; use OCP\AppFramework\Http\TemplateResponse; use OCP\AppFramework\Services\IInitialState; use OCP\IConfig; -use OCP\IL10N; -use OCP\IURLGenerator; use OCP\IUserSession; use OCP\Settings\ISettings; use OCP\Util; @@ -46,12 +44,6 @@ class Personal implements ISettings { /** @var IUserSession */ private $userSession; - /** @var IL10N */ - private $l; - - /** @var IURLGenerator */ - private $urlGenerator; - /** @var AccessibilityProvider */ private $accessibilityProvider; @@ -61,15 +53,11 @@ class Personal implements ISettings { public function __construct(string $appName, IConfig $config, IUserSession $userSession, - IL10N $l, - IURLGenerator $urlGenerator, AccessibilityProvider $accessibilityProvider, IInitialState $initialStateService) { $this->appName = $appName; $this->config = $config; $this->userSession = $userSession; - $this->l = $l; - $this->urlGenerator = $urlGenerator; $this->accessibilityProvider = $accessibilityProvider; $this->initialStateService = $initialStateService; } |