瀏覽代碼

Update Status model

Daniel Supernault 6 年之前
父節點
當前提交
905c2417ae
共有 1 個文件被更改,包括 0 次插入5 次删除
  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);
     }