mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-08 19:42:15 +09:00
NOISSUE 사용되지 않는 데이터를 로드하는 코드 제거
This commit is contained in:
parent
c83f6d96dd
commit
3052a858d8
2 changed files with 7 additions and 4 deletions
|
|
@ -55,16 +55,15 @@ class commentAdminView extends comment
|
||||||
$columnList = array('comment_srl', 'document_srl', 'is_secret', 'status', 'content', 'comments.member_srl', 'comments.nick_name', 'comments.regdate', 'ipaddress', 'voted_count', 'blamed_count');
|
$columnList = array('comment_srl', 'document_srl', 'is_secret', 'status', 'content', 'comments.member_srl', 'comments.nick_name', 'comments.regdate', 'ipaddress', 'voted_count', 'blamed_count');
|
||||||
$output = $oCommentModel->getTotalCommentList($args, $columnList);
|
$output = $oCommentModel->getTotalCommentList($args, $columnList);
|
||||||
|
|
||||||
$oCommentModel = getModel("comment");
|
// $modules = $oCommentModel->getDistinctModules();
|
||||||
$modules = $oCommentModel->getDistinctModules();
|
// $modules_list = $modules;
|
||||||
$modules_list = $modules;
|
|
||||||
|
|
||||||
// set values in the return object of comment_model:: getTotalCommentList() in order to use a template.
|
// set values in the return object of comment_model:: getTotalCommentList() in order to use a template.
|
||||||
Context::set('total_count', $output->total_count);
|
Context::set('total_count', $output->total_count);
|
||||||
Context::set('total_page', $output->total_page);
|
Context::set('total_page', $output->total_page);
|
||||||
Context::set('page', $output->page);
|
Context::set('page', $output->page);
|
||||||
Context::set('comment_list', $output->data);
|
Context::set('comment_list', $output->data);
|
||||||
Context::set('modules_list', $modules_list);
|
// Context::set('modules_list', $modules_list);
|
||||||
Context::set('page_navigation', $output->page_navigation);
|
Context::set('page_navigation', $output->page_navigation);
|
||||||
Context::set('secret_name_list', $secretNameList);
|
Context::set('secret_name_list', $secretNameList);
|
||||||
// set the template
|
// set the template
|
||||||
|
|
|
||||||
|
|
@ -326,6 +326,9 @@ class commentModel extends comment
|
||||||
*/
|
*/
|
||||||
function getDistinctModules()
|
function getDistinctModules()
|
||||||
{
|
{
|
||||||
|
return array();
|
||||||
|
|
||||||
|
/*
|
||||||
$output = executeQueryArray('comment.getDistinctModules');
|
$output = executeQueryArray('comment.getDistinctModules');
|
||||||
$module_srls = $output->data;
|
$module_srls = $output->data;
|
||||||
$oModuleModel = getModel('module');
|
$oModuleModel = getModel('module');
|
||||||
|
|
@ -339,6 +342,7 @@ class commentModel extends comment
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return $result;
|
return $result;
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue