removed ->connection from jobs

This commit is contained in:
2021-03-30 01:15:19 +09:00
parent e2b94eea77
commit ecd7b08b27
6 changed files with 6 additions and 6 deletions

View File

@@ -49,7 +49,7 @@ class ProcessSendEveMailJob implements ShouldQueue
*/ */
public function __construct($body, $recipient, $recipient_type, $subject, $sender) { public function __construct($body, $recipient, $recipient_type, $subject, $sender) {
//Set the connection //Set the connection
$this->connection = 'redis'; //$this->connection = 'redis';
//Set the middleware for the job //Set the middleware for the job
$this->middleware = $this->middleware(); $this->middleware = $this->middleware();

View File

@@ -55,7 +55,7 @@ class ProcessSendEveMailJobRL implements ShouldQueue
*/ */
public function __construct($body, $recipient, $recipient_type, $subject, $sender) { public function __construct($body, $recipient, $recipient_type, $subject, $sender) {
//Set the connection //Set the connection
$this->connection = 'redis'; //$this->connection = 'redis';

View File

@@ -60,7 +60,7 @@ class FetchMiningTaxesLedgersJob implements ShouldQueue
public function __construct($charId, $corpId, $observerId) public function __construct($charId, $corpId, $observerId)
{ {
//Set the connection for the job //Set the connection for the job
$this->connection = 'redis'; //$this->connection = 'redis';
//Import the variables from the calling function //Import the variables from the calling function
$this->charId = $charId; $this->charId = $charId;

View File

@@ -51,7 +51,7 @@ class ProcessMiningTaxesLedgersJob implements ShouldQueue
public function __construct($ledger, $observerId) public function __construct($ledger, $observerId)
{ {
//Set the connection for the job //Set the connection for the job
$this->connection = 'redis'; //$this->connection = 'redis';
//Import variables from the calling function //Import variables from the calling function
$this->ledger = $ledger; $this->ledger = $ledger;

View File

@@ -30,7 +30,7 @@ class ProcessMiningTaxesPaymentsJob implements ShouldQueue
*/ */
public function __construct() public function __construct()
{ {
$this->connection = 'redis'; //$this->connection = 'redis';
} }
/** /**

View File

@@ -59,7 +59,7 @@ class EndSupplyChainContractJob implements ShouldQueue
public function __construct(SupplyChainContract $contract) public function __construct(SupplyChainContract $contract)
{ {
//Set the queue connection up //Set the queue connection up
$this->connection = 'redis'; //$this->connection = 'redis';
//Set the variables //Set the variables
$contractId = $contract->contract_id; $contractId = $contract->contract_id;