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:
parent
3d58ec0aec
commit
9ddcea260d
@ -28,6 +28,10 @@ class HostedMigration extends Job
|
|||||||
|
|
||||||
private $forced;
|
private $forced;
|
||||||
|
|
||||||
|
public $tries = 1;
|
||||||
|
|
||||||
|
public $timeout = 0;
|
||||||
|
|
||||||
public function __construct(User $user, array $data, $db, $forced = false)
|
public function __construct(User $user, array $data, $db, $forced = false)
|
||||||
{
|
{
|
||||||
$this->user = $user;
|
$this->user = $user;
|
||||||
|
@ -1431,7 +1431,9 @@ trait GenerateMigrationResources
|
|||||||
return 30;
|
return 30;
|
||||||
case PAYMENT_TYPE_BITCOIN:
|
case PAYMENT_TYPE_BITCOIN:
|
||||||
return 31;
|
return 31;
|
||||||
|
case 2:
|
||||||
|
return 4;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return $payment_type_id;
|
return $payment_type_id;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user