Quellcode durchsuchen

Update Status model

Daniel Supernault vor 6 Jahren
Ursprung
Commit
905c2417ae
1 geänderte Dateien mit 0 neuen und 5 gelöschten Zeilen
  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);
     }