Merge pull request #6282 from pixelfed/shleeable-patch-13

Larastan: Update NewStatusPipeline.php - REVIEW
pull/6311/head^2
dansup 5 days ago committed by GitHub
commit 4165a63014
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -11,6 +11,7 @@ use App\Services\StatusService;
use App\Status;
use App\Util\Lexer\Autolink;
use App\Util\Lexer\Extractor;
use App\Jobs\MentionPipeline\MentionPipeline;
use DB;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
@ -58,7 +59,7 @@ class NewStatusPipeline implements ShouldQueue
}
if (count($this->mentions)) {
$this->storeMentions($this->mentions);
$this->storeMentions();
}
}
@ -90,10 +91,6 @@ class NewStatusPipeline implements ShouldQueue
});
}
if (count($this->mentions)) {
$this->storeMentions();
}
StatusService::del($status->id);
}

Loading…
Cancel
Save