Remove database dependency from user console command

This commit is contained in:
Matthew Exon 2021-05-02 18:10:51 +02:00
parent 19a86fd8f2
commit ac4f62f556

View file

@ -26,7 +26,6 @@ use Friendica\App;
use Friendica\Content\Pager;
use Friendica\Core\L10n;
use Friendica\Core\PConfig\IPConfig;
use Friendica\Database\Database;
use Friendica\Model\Register;
use Friendica\Model\User as UserModel;
use Friendica\Util\Temporal;
@ -89,7 +88,7 @@ HELP;
return $help;
}
public function __construct(App\Mode $appMode, L10n $l10n, Database $dba, IPConfig $pConfig, array $argv = null)
public function __construct(App\Mode $appMode, L10n $l10n, IPConfig $pConfig, array $argv = null)
{
parent::__construct($argv);