diff options
Diffstat (limited to 'lib/private/Settings/Admin/Sharing.php')
-rw-r--r-- | lib/private/Settings/Admin/Sharing.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/private/Settings/Admin/Sharing.php b/lib/private/Settings/Admin/Sharing.php index ee6a64c85bf..a044d314b04 100644 --- a/lib/private/Settings/Admin/Sharing.php +++ b/lib/private/Settings/Admin/Sharing.php @@ -31,6 +31,7 @@ use OCP\AppFramework\Http\TemplateResponse; use OCP\Constants; use OCP\IConfig; use OCP\IL10N; +use OCP\L10N\IFactory; use OCP\Settings\ISettings; use OCP\Share\IManager; use OCP\Util; @@ -48,9 +49,9 @@ class Sharing implements ISettings { /** * @param IConfig $config */ - public function __construct(IConfig $config, IL10N $l, IManager $shareManager) { + public function __construct(IConfig $config, IFactory $l, IManager $shareManager) { $this->config = $config; - $this->l = $l; + $this->l = $l->get('lib'); $this->shareManager = $shareManager; } |