mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-21 11:22:34 +09:00
댓글 신고시 신고 이유를 적을 수 있게 함
- 댓글에도 신고 이유를 적을 수 있다. - 코드 정리
This commit is contained in:
parent
a9915a7986
commit
4bbd91bd3c
18 changed files with 415 additions and 41 deletions
|
|
@ -101,6 +101,12 @@ class comment extends ModuleObject
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
// 2016. 1. 29: Add a column(declare_message) for report
|
||||
if(!$oDB->isColumnExists("comment_declared_log","declare_message"))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
@ -175,6 +181,12 @@ class comment extends ModuleObject
|
|||
$oModuleController->insertTrigger('module.procModuleAdminCopyModule', 'comment', 'controller', 'triggerCopyModule', 'after');
|
||||
}
|
||||
|
||||
// 2016. 1. 29: Add a column(declare_message) for report
|
||||
if(!$oDB->isColumnExists("comment_declared_log","declare_message"))
|
||||
{
|
||||
$oDB->addColumn('comment_declared_log',"declare_message","text");
|
||||
}
|
||||
|
||||
return new Object(0, 'success_updated');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue