mirror of
https://github.com/friendica/friendica
synced 2025-05-14 11:44:11 +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
|
@ -30,7 +30,7 @@ class ArchiveContact extends \Asika\SimpleConsole\Console
|
|||
*/
|
||||
private $dba;
|
||||
/**
|
||||
* @var L10n\L10n
|
||||
* @var \Friendica\Core\L10n
|
||||
*/
|
||||
private $l10n;
|
||||
|
||||
|
@ -51,7 +51,7 @@ HELP;
|
|||
return $help;
|
||||
}
|
||||
|
||||
public function __construct(App\Mode $appMode, Database $dba, L10n\L10n $l10n, array $argv = null)
|
||||
public function __construct(App\Mode $appMode, Database $dba, \Friendica\Core\L10n $l10n, array $argv = null)
|
||||
{
|
||||
parent::__construct($argv);
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ class GlobalCommunityBlock extends \Asika\SimpleConsole\Console
|
|||
*/
|
||||
private $appMode;
|
||||
/**
|
||||
* @var L10n\L10n
|
||||
* @var \Friendica\Core\L10n
|
||||
*/
|
||||
private $l10n;
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
namespace Friendica\Console;
|
||||
|
||||
use Friendica\App;
|
||||
use Friendica\Core\L10n\L10n;
|
||||
use Friendica\Core\L10n;
|
||||
use Friendica\Database\Database;
|
||||
use Friendica\Model\User;
|
||||
use RuntimeException;
|
||||
|
|
|
@ -4,7 +4,7 @@ namespace Friendica\Console;
|
|||
|
||||
use Friendica\App;
|
||||
use Friendica\Core\Config\IConfiguration;
|
||||
use Friendica\Core\L10n\L10n;
|
||||
use Friendica\Core\L10n;
|
||||
use Friendica\Core\Update;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue