Explorar o código

Update Status model

Daniel Supernault %!s(int64=6) %!d(string=hai) anos
pai
achega
905c2417ae
Modificáronse 1 ficheiros con 0 adicións e 5 borrados
  1. 0 5
      app/Status.php

+ 0 - 5
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);
     }