From 04daa41054562b932e5bda2f2c6f44607fd87d13 Mon Sep 17 00:00:00 2001 From: ngleader Date: Tue, 9 Nov 2010 01:44:50 +0000 Subject: [PATCH] fixed git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7817 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/counter/counter.class.php | 3 +-- modules/editor/editor.class.php | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) 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');