mirror of
https://github.com/friendica/friendica
synced 2025-04-25 18:30:11 +00:00
Replace BaseObject class with DI::* calls
This commit is contained in:
parent
1de3f186d7
commit
388b963714
98 changed files with 321 additions and 440 deletions
|
@ -146,7 +146,7 @@ HELP;
|
|||
|
||||
$className = $this->subConsoles[$command];
|
||||
|
||||
Friendica\BaseObject::setDependencyInjection($this->dice);
|
||||
Friendica\DI::init($this->dice);
|
||||
|
||||
/** @var Console $subconsole */
|
||||
$subconsole = $this->dice->create($className, [$subargs]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue