Use the l10n from settings
Fixes #19261 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
846eb8ee1d
commit
af8ad96285
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue