mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-07 22:17:17 +02:00
Move L10n class from L10n subdir to Core (replacing old wrapper)
This commit is contained in:
parent
67f2066b8b
commit
2838635d64
30 changed files with 356 additions and 492 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue