wzq преди 5 години
родител
ревизия
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();