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;
|
||||
|
||||
public $tries = 1;
|
||||
|
||||
public $timeout = 0;
|
||||
|
||||
public function __construct(User $user, array $data, $db, $forced = false)
|
||||
{
|
||||
$this->user = $user;
|
||||
|
@ -1431,6 +1431,8 @@ trait GenerateMigrationResources
|
||||
return 30;
|
||||
case PAYMENT_TYPE_BITCOIN:
|
||||
return 31;
|
||||
case 2:
|
||||
return 4;
|
||||
|
||||
default:
|
||||
return $payment_type_id;
|
||||
|
Loading…
Reference in New Issue
Block a user