소스 검색

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);
     }