git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7817 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ngleader 2010-11-09 01:44:50 +00:00
parent a2d44fa17a
commit 04daa41054
2 changed files with 1 additions and 4 deletions

View file

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

View file

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