diff --git a/modules/counter/counter.class.php b/modules/counter/counter.class.php index e4d1aa2a5..a6f9a9b72 100644 --- a/modules/counter/counter.class.php +++ b/modules/counter/counter.class.php @@ -26,11 +26,11 @@ * @brief 설치가 이상이 없는지 체크하는 method **/ function checkUpdate() { - $db_info = Context::getDbInfo (); // 카운터에 site_srl추가 $oDB = &DB::getInstance(); if(!$oDB->isColumnExists('counter_log', 'site_srl')) return true; if(!$oDB->isIndexExists('counter_log','idx_site_counter_log')) return true; + return false; } @@ -38,7 +38,6 @@ * @brief 업데이트 실행 **/ function moduleUpdate() { - $db_info = Context::getDBInfo (); // 카운터에 site_srl추가 $oDB = &DB::getInstance(); if(!$oDB->isColumnExists('counter_log', 'site_srl')) $oDB->addColumn('counter_log','site_srl','number',11,0,true); diff --git a/modules/editor/editor.class.php b/modules/editor/editor.class.php index eb0e8959c..43c4499ed 100644 --- a/modules/editor/editor.class.php +++ b/modules/editor/editor.class.php @@ -47,7 +47,6 @@ * @brief 설치가 이상이 없는지 체크하는 method **/ function checkUpdate() { - $db_info = Context::getDBInfo (); $oModuleModel = &getModel('module'); $oDB = &DB::getInstance(); @@ -77,7 +76,6 @@ * @brief 업데이트 실행 **/ function moduleUpdate() { - $db_info = Context::getDBInfo (); $oModuleModel = &getModel('module'); $oModuleController = &getController('module');