cleanups
This commit is contained in:
parent
2838635d64
commit
0e6a675cb5
|
@ -4,7 +4,6 @@ namespace Friendica\Core;
|
|||
|
||||
use Exception;
|
||||
use Friendica\Core\Config\IConfiguration;
|
||||
use Friendica\Core\L10n;
|
||||
use Friendica\Database\Database;
|
||||
use Friendica\Model\Storage;
|
||||
use Psr\Log\LoggerInterface;
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
namespace Friendica;
|
||||
|
||||
use Dice\Dice;
|
||||
use Friendica\Core\L10n;
|
||||
use Psr\Log\LoggerInterface;
|
||||
|
||||
/**
|
||||
|
@ -156,6 +157,9 @@ abstract class DI
|
|||
return self::$dice->create(Core\Lock\ILock::class);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return L10n
|
||||
*/
|
||||
public static function l10n()
|
||||
{
|
||||
return self::$dice->create(Core\L10n::class);
|
||||
|
|
Loading…
Reference in a new issue