mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
Fix uploaded_count remaining after comment is deleted
This commit is contained in:
parent
3f69e368da
commit
e9be06ef6b
2 changed files with 2 additions and 0 deletions
|
|
@ -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())
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@
|
|||
<columns>
|
||||
<column name="member_srl" var="member_srl" />
|
||||
<column name="content" var="content" notnull="notnull" />
|
||||
<column name="uploaded_count" var="uploaded_count" />
|
||||
<column name="last_update" var="last_update" default="curdate()" />
|
||||
<column name="status" var="status" default="1" />
|
||||
</columns>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue