wzq лет назад: 5
Родитель
Сommit
b96e40f349
1 измененных файлов с 0 добавлено и 2 удалено
  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();