mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
#19435955: 문제 수정 중(예외 처리 일부 추가)
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8019 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
d3ca2fa3b6
commit
f4373b04c4
1 changed files with 9 additions and 5 deletions
|
|
@ -23,11 +23,15 @@
|
|||
* @brief 회원정보와 게시물 정보를 싱크
|
||||
**/
|
||||
function procImporterAdminSync() {
|
||||
// 게시물정보 싱크
|
||||
$output = executeQuery('importer.updateDocumentSync');
|
||||
|
||||
// 댓글정보 싱크
|
||||
$output = executeQuery('importer.updateCommentSync');
|
||||
/* DBMS가 CUBRID인 경우 MySQL과 동일한 방법으로는 문서 및 댓글에 대한 사용자 정보를 동기화 할 수 없으므로 예외 처리 합니다.
|
||||
CUBRID를 사용하지 않는 경우에만 보편적인 기존 질의문을 사용합니다. */
|
||||
$db_info = Context::getDBInfo ();
|
||||
if ($db_info->db_type != "cubrid") {
|
||||
$output = executeQuery('importer.updateDocumentSync');
|
||||
$output = executeQuery('importer.updateCommentSync');
|
||||
}
|
||||
else {
|
||||
}
|
||||
|
||||
$this->setMessage('msg_sync_completed');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue