removed ->connection from jobs
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
@@ -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';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ class ProcessMiningTaxesPaymentsJob implements ShouldQueue
|
|||||||
*/
|
*/
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
$this->connection = 'redis';
|
//$this->connection = 'redis';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user