diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2020-02-03 09:44:59 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2020-02-03 09:44:59 +0100 |
commit | af8ad9628585273b32534d151d348eb66a0ffd3d (patch) | |
tree | 0d606aaa742288449cbefa09ca6d7bd2651e782e /apps | |
parent | 846eb8ee1d2e19e935e9d8d77805c7b0d3329b35 (diff) | |
download | nextcloud-server-af8ad9628585273b32534d151d348eb66a0ffd3d.tar.gz nextcloud-server-af8ad9628585273b32534d151d348eb66a0ffd3d.zip |
Use the l10n from settings
Fixes #19261
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/settings/lib/Settings/Admin/Sharing.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/settings/lib/Settings/Admin/Sharing.php b/apps/settings/lib/Settings/Admin/Sharing.php index c151e7be4e1..495af9d5375 100644 --- a/apps/settings/lib/Settings/Admin/Sharing.php +++ b/apps/settings/lib/Settings/Admin/Sharing.php @@ -52,9 +52,9 @@ class Sharing implements ISettings { /** * @param IConfig $config */ - public function __construct(IConfig $config, IFactory $l, IManager $shareManager) { + public function __construct(IConfig $config, IL10N $l, IManager $shareManager) { $this->config = $config; - $this->l = $l->get('lib'); + $this->l = $l; $this->shareManager = $shareManager; } |