1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-19 16:01:34 +02: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;
public $tries = 1;
public $timeout = 0;
public function __construct(User $user, array $data, $db, $forced = false)
{
$this->user = $user;

View File

@ -1431,7 +1431,9 @@ trait GenerateMigrationResources
return 30;
case PAYMENT_TYPE_BITCOIN:
return 31;
case 2:
return 4;
default:
return $payment_type_id;
}