job status moved to before the delete portion
This commit is contained in:
@@ -62,13 +62,13 @@ class ProcessWalletJournalJob implements ShouldQueue
|
||||
|
||||
$finance->GetWalletJournalPage($this->division, $this->charId, $this->page);
|
||||
|
||||
//After the job is completed, delete the job
|
||||
$this->delete();
|
||||
|
||||
$status = new JobStatus;
|
||||
$status->job_name = 'Process Wallet Journal';
|
||||
$status->complete = true;
|
||||
$status->save();
|
||||
|
||||
//After the job is completed, delete the job
|
||||
$this->delete();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -58,13 +58,13 @@ class ProcessWalletTransactionJob implements ShouldQueue
|
||||
|
||||
$finance->GetWalletTransaction($this->division, $this->charId);
|
||||
|
||||
//After the job is completed, delete the job
|
||||
$this->delete();
|
||||
|
||||
$status = new JobStatus;
|
||||
$status->job_name = 'Process Wallet Transaction';
|
||||
$status->complete = true;
|
||||
$status->save();
|
||||
|
||||
//After the job is completed, delete the job
|
||||
$this->delete();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -100,12 +100,12 @@ class SendEveMailJob implements ShouldQueue
|
||||
return null;
|
||||
}
|
||||
|
||||
$this->delete();
|
||||
|
||||
$status = new JobStatus;
|
||||
$status->job_name = 'Send Eve Mail';
|
||||
$status->complete = true;
|
||||
$status->save();
|
||||
|
||||
$this->delete();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user