1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Disable gmail email sending on self hosted if importing from hosted platform to self hosted

This commit is contained in:
David Bomba 2022-02-25 14:56:13 +11:00
parent 9311882c23
commit e74b737441

View File

@ -374,6 +374,9 @@ class Import implements ShouldQueue
$data['subdomain'] = MultiDB::randomSubdomainGenerator();
}
else {
$data['email_sending_method'] = 'default';
}
$rules = (new UpdateCompanyRequest())->rules();