summaryrefslogtreecommitdiffstats
path: root/apps/settings/lib/Settings/Admin/Sharing.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings/lib/Settings/Admin/Sharing.php')
-rw-r--r--apps/settings/lib/Settings/Admin/Sharing.php4
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;
}