From 905c2417aed3b0df3d6b1185b2e66df8b5fdcae9 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sat, 10 Nov 2018 20:15:07 -0700 Subject: [PATCH] Update Status model --- app/Status.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/Status.php b/app/Status.php index bbe5e5932..099f2b80b 100644 --- a/app/Status.php +++ b/app/Status.php @@ -64,11 +64,6 @@ class Status extends Model $id = $this->id; $username = $this->profile->username; $path = config('app.url')."/p/{$username}/{$id}"; - if (!is_null($this->in_reply_to_id)) { - $pid = $this->in_reply_to_id; - $path = "{$this->parent()->url()}#comment-{$id}"; - } - return url($path); }