#19435955: 문제 수정 중(예외 처리 일부 추가)

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8019 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ysnglee2000 2011-01-05 10:51:47 +00:00
parent d3ca2fa3b6
commit f4373b04c4

View file

@ -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');
}