mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
Elimination the privileges of the commenter.
This commit is contained in:
parent
939780b871
commit
b2e6c5338e
2 changed files with 3 additions and 0 deletions
|
|
@ -928,6 +928,8 @@ class commentController extends comment
|
||||||
{
|
{
|
||||||
$obj->content = lang('msg_delete_comment');
|
$obj->content = lang('msg_delete_comment');
|
||||||
}
|
}
|
||||||
|
$obj->member_srl = 0;
|
||||||
|
$obj->list_order = 0;
|
||||||
$output = executeQuery('comment.updateCommentByDelete', $obj);
|
$output = executeQuery('comment.updateCommentByDelete', $obj);
|
||||||
if(!$output->toBool())
|
if(!$output->toBool())
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,7 @@
|
||||||
<column name="email_address" var="email_address" filter="email" maxlength="250" />
|
<column name="email_address" var="email_address" filter="email" maxlength="250" />
|
||||||
<column name="homepage" var="homepage" filter="homepage" maxlength="250" />
|
<column name="homepage" var="homepage" filter="homepage" maxlength="250" />
|
||||||
<column name="uploaded_count" var="uploaded_count" default="0" />
|
<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="last_update" var="last_update" default="curdate()" />
|
||||||
<column name="status" var="status" default="1" />
|
<column name="status" var="status" default="1" />
|
||||||
</columns>
|
</columns>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue