Fix uploaded_count remaining after comment is deleted

This commit is contained in:
Kijin Sung 2023-11-19 21:41:50 +09:00
parent 3f69e368da
commit e9be06ef6b
2 changed files with 2 additions and 0 deletions

View file

@ -1123,6 +1123,7 @@ class CommentController extends Comment
// Update
$obj->member_srl = 0;
$obj->uploaded_count = 0;
unset($obj->last_update);
$output = executeQuery('comment.updateCommentByDelete', $obj);
if(!$output->toBool())