mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-08 19:42:15 +09:00
실수로 정리되지 않은 코드 정리..
This commit is contained in:
parent
f4d8f613fe
commit
a4dbf16746
2 changed files with 15 additions and 16 deletions
|
|
@ -114,7 +114,7 @@ class boardController extends board
|
||||||
return new Object(-1,'msg_not_permitted');
|
return new Object(-1,'msg_not_permitted');
|
||||||
}
|
}
|
||||||
|
|
||||||
if($this->module_info->protect_content == "Y" || $this->module_info->protect_update_content == 'Y')
|
if($this->module_info->protect_content == 'Y' || $this->module_info->protect_update_content == 'Y')
|
||||||
{
|
{
|
||||||
if($oDocument->get('comment_count') > 0 && $this->grant->manager == false)
|
if($oDocument->get('comment_count') > 0 && $this->grant->manager == false)
|
||||||
{
|
{
|
||||||
|
|
@ -215,7 +215,7 @@ class boardController extends board
|
||||||
$oDocumentModel = &getModel('document');
|
$oDocumentModel = &getModel('document');
|
||||||
$oDocument = $oDocumentModel->getDocument($document_srl);
|
$oDocument = $oDocumentModel->getDocument($document_srl);
|
||||||
// check protect content
|
// check protect content
|
||||||
if($this->module_info->protect_content == "Y" || $this->module_info->protect_delete_content == 'Y')
|
if($this->module_info->protect_content == 'Y' || $this->module_info->protect_delete_content == 'Y')
|
||||||
{
|
{
|
||||||
if($oDocument->get('comment_count') > 0 && $this->grant->manager == false)
|
if($oDocument->get('comment_count') > 0 && $this->grant->manager == false)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -642,7 +642,6 @@ class boardView extends board
|
||||||
return $this->dispBoardMessage('msg_not_permitted');
|
return $this->dispBoardMessage('msg_not_permitted');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
$oDocumentModel = getModel('document');
|
$oDocumentModel = getModel('document');
|
||||||
$logged_info = Context::get('logged_info');
|
$logged_info = Context::get('logged_info');
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue