1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-09 20:52:56 +01:00

Merge pull request #7580 from turbo124/master

Minor fixes.
This commit is contained in:
David Bomba 2022-06-22 12:28:43 +10:00 committed by GitHub
commit 5bf7c07048
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View File

@ -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;

View File

@ -1431,6 +1431,8 @@ 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;