mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-17 09:24:17 +09:00
add index is_admin column, and more improving.
This commit is contained in:
parent
e9acd7fe14
commit
39cc333f33
5 changed files with 14 additions and 16 deletions
|
|
@ -1576,9 +1576,15 @@ class documentModel extends document
|
|||
}
|
||||
$args = new stdClass();
|
||||
$args->document_srl = $document_srl;
|
||||
$output = executeQueryArray('document.getUpdateLogAdminisExists', $args);
|
||||
$args->is_admin = 'Y';
|
||||
$output = executeQuery('document.getUpdateLogAdminisExists', $args);
|
||||
|
||||
return $output->data;
|
||||
if($output->data->count > 0)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
/* End of file document.model.php */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue