Module의 업데이트 필요 현황을 파악하고 업데이트를 할 수 있는 코드 추가. db의 column exists정보와 add column 기능 추가

git-svn-id: http://xe-core.googlecode.com/svn/trunk@1974 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2007-07-23 07:35:47 +00:00
parent cb2254ef96
commit a2eb5d62bf
38 changed files with 299 additions and 64 deletions

View file

@ -27,6 +27,20 @@
$this->setMessage('success_installed');
}
/**
* @brief 모듈 업데이트
**/
function procInstallAdminUpdate() {
$module_name = Context::get('module_name');
if(!$module_name) return new object(-1, 'invalid_request');
$oModule = &getModule($module_name, 'class');
if($oModule) $output = $oModule->moduleUpdate();
else $output = new Object(-1, 'invalid_request');
return $output;
}
/**
* @brief time zone변경
**/