mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
문서 신고시 이유 적을 수 있게 항목 추가
문서 신고시 항목 적을 수 있게 함
This commit is contained in:
parent
79955b083c
commit
f77b8fde3c
16 changed files with 330 additions and 88 deletions
|
|
@ -124,6 +124,9 @@ class document extends ModuleObject
|
|||
// 2012. 08. 29 Add a trigger to copy additional setting when the module is copied
|
||||
if(!$oModuleModel->getTrigger('module.procModuleAdminCopyModule', 'document', 'controller', 'triggerCopyModule', 'after')) return true;
|
||||
|
||||
// 2016. 1. 27: Add a column(declare_message) for report
|
||||
if(!$oDB->isColumnExists("document_declared_log","declare_message")) return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
@ -320,6 +323,12 @@ class document extends ModuleObject
|
|||
$oModuleController->insertTrigger('module.procModuleAdminCopyModule', 'document', 'controller', 'triggerCopyModule', 'after');
|
||||
}
|
||||
|
||||
// 2016. 1. 27: Add a column(declare_message) for report
|
||||
if(!$oDB->isColumnExists("document_declared_log","declare_message"))
|
||||
{
|
||||
$oDB->addColumn('document_declared_log',"declare_message","text");
|
||||
}
|
||||
|
||||
return new Object(0,'success_updated');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue