mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-13 15:32:15 +09:00
NOISSUE category를 설정 하지 않은 게시판 등에서 항상 목록을 DB 쿼리하는 불필요한 동작 개선.
This commit is contained in:
parent
a7bf2952b0
commit
64c628091f
1 changed files with 1 additions and 7 deletions
|
|
@ -1726,16 +1726,10 @@ class documentController extends document
|
|||
$args = new stdClass();
|
||||
$args->module_srl = $module_srl;
|
||||
$args->sort_index = 'list_order';
|
||||
$output = executeQuery('document.getCategoryList', $args);
|
||||
$output = executeQueryArray('document.getCategoryList', $args);
|
||||
|
||||
$category_list = $output->data;
|
||||
|
||||
if(!$category_list)
|
||||
{
|
||||
FileHandler::removeFile($xml_file);
|
||||
FileHandler::removeFile($php_file);
|
||||
return false;
|
||||
}
|
||||
if(!is_array($category_list)) $category_list = array($category_list);
|
||||
|
||||
$category_count = count($category_list);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue