Move L10n class from L10n subdir to Core (replacing old wrapper)

This commit is contained in:
nupplaPhil 2020-01-18 20:59:39 +01:00
parent 67f2066b8b
commit 2838635d64
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
30 changed files with 356 additions and 492 deletions

View file

@ -145,7 +145,7 @@ class SampleStorageBackend implements IStorage
/** @var Config\IConfiguration */
private $config;
/** @var L10n\L10n */
/** @var \Friendica\Core\L10n */
private $l10n;
/**
@ -155,7 +155,7 @@ class SampleStorageBackend implements IStorage
* You can add here every dynamic class as dependency you like and add them to a private field
* Friendica automatically creates these classes and passes them as argument to the constructor
*/
public function __construct(Config\IConfiguration $config, L10n\L10n $l10n)
public function __construct(Config\IConfiguration $config, \Friendica\Core\L10n $l10n)
{
$this->config = $config;
$this->l10n = $l10n;