#2129 모듈 업데이트 기록 및 확인 기능 추가

- moduleModel::needUpdate()
- moduleController::insertUpdatedLog()
This commit is contained in:
bnu 2017-08-11 15:57:10 +09:00 committed by Kijin Sung
parent 4eae6ac04e
commit 6679dbf181
5 changed files with 58 additions and 0 deletions

View file

@ -603,6 +603,22 @@ class moduleController extends module
return $output;
}
/**
* @brief 업데이트 기록 저장
* @param string $update_id
* @return Boolean
*/
public function insertUpdatedLog($update_id)
{
$args = new stdClass();
$args->update_id = $update_id;
$output = executeQuery('module.insertModuleUpdateLog', $args);
if(!!$output->error) return false;
return true;
}
/**
* @brief Change the module's virtual site
*/