wzq %!s(int64=5) %!d(string=hai) anos
pai
achega
b96e40f349
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      app/Repositories/Post/PostRepository.php

+ 0 - 2
app/Repositories/Post/PostRepository.php

@@ -400,8 +400,6 @@ class PostRepository
         DB::beginTransaction();
         try {
             $comment = $this->postComment->create($data);
-            $post->data->comment_count += 1;
-            $post->data->save();
 
             DB::commit();