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

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