diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2020-02-03 09:44:59 +0100 |
---|---|---|
committer | Backportbot <backportbot-noreply@rullzer.com> | 2020-02-03 11:57:04 +0000 |
commit | fc7a4147c0bd24400ca120ba08ae0f85738edca8 (patch) | |
tree | e6f828b9f787068516613526917554d068f00f32 | |
parent | 297debef34d1192548a1fc451c645e71b05e0a81 (diff) | |
download | nextcloud-server-fc7a4147c0bd24400ca120ba08ae0f85738edca8.tar.gz nextcloud-server-fc7a4147c0bd24400ca120ba08ae0f85738edca8.zip |
Use the l10n from settings
Fixes #19261
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
-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 591d6a64b8b..4943ac3b6e4 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; } |