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

Fixes for migration

This commit is contained in:
David Bomba 2022-06-22 12:28:01 +10:00
parent 3d58ec0aec
commit 9ddcea260d
2 changed files with 7 additions and 1 deletions

View File

@ -28,6 +28,10 @@ class HostedMigration extends Job
private $forced;
public $tries = 1;
public $timeout = 0;
public function __construct(User $user, array $data, $db, $forced = false)
{
$this->user = $user;

View File

@ -1431,6 +1431,8 @@ trait GenerateMigrationResources
return 30;
case PAYMENT_TYPE_BITCOIN:
return 31;
case 2:
return 4;
default:
return $payment_type_id;