Update CommentPipeline.php

pull/6229/head
Shlee 2 weeks ago committed by GitHub
parent 4bbabfffb9
commit 604ca31cc0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -56,13 +56,11 @@ class CommentPipeline implements ShouldQueue
$status = $this->status;
$comment = $this->comment;
// Verify status exists
// Verify status and comment exists
if (!$status) {
Log::info("CommentPipeline: Status no longer exists, skipping job");
return;
}
// Verify comment exists
if (!$comment) {
Log::info("CommentPipeline: Comment no longer exists, skipping job");
return;

Loading…
Cancel
Save