Remove interact from command and implement bootstrap method

Signed-off-by: Vitor Mattos <vitor@php.rio>
This commit is contained in:
Vitor Mattos
2021-07-18 10:11:39 -03:00
committed by Julius Härtl
parent e01e4cf1a7
commit 6714c89220
7 changed files with 91 additions and 89 deletions

View File

@@ -66,6 +66,10 @@ class BoardImportTrelloService extends ABoardImportService {
$this->l10n = $l10n;
}
public function bootstrap(): void {
$this->validateUsers();
}
public function validateUsers(): void {
if (empty($this->getImportService()->getConfig('uidRelation'))) {
return;