Update CommentController

pull/1112/head
Daniel Supernault 6 years ago
parent 7e3d93a8c2
commit 855f92d25f
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -52,6 +52,10 @@ class CommentController extends Controller
$profile = $user->profile;
$status = Status::findOrFail($statusId);
if($status->comments_disabled == true) {
return;
}
Cache::forget('transform:status:'.$status->url());
$autolink = Autolink::create()->autolink($comment);

Loading…
Cancel
Save