wzq hace 5 años
padre
commit
b96e40f349
Se han modificado 1 ficheros con 0 adiciones y 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();