Use the l10n from settings

Fixes #19261

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2020-02-03 09:44:59 +01:00
parent 846eb8ee1d
commit af8ad96285
No known key found for this signature in database
GPG Key ID: F941078878347C0C
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}