Elimination the privileges of the commenter.

This commit is contained in:
BJRambo 2016-05-23 15:22:46 +09:00
parent 939780b871
commit b2e6c5338e
2 changed files with 3 additions and 0 deletions

View file

@ -928,6 +928,8 @@ class commentController extends comment
{
$obj->content = lang('msg_delete_comment');
}
$obj->member_srl = 0;
$obj->list_order = 0;
$output = executeQuery('comment.updateCommentByDelete', $obj);
if(!$output->toBool())
{

View file

@ -16,6 +16,7 @@
<column name="email_address" var="email_address" filter="email" maxlength="250" />
<column name="homepage" var="homepage" filter="homepage" maxlength="250" />
<column name="uploaded_count" var="uploaded_count" default="0" />
<column name="list_order" var="list_order" default="0" />
<column name="last_update" var="last_update" default="curdate()" />
<column name="status" var="status" default="1" />
</columns>