mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-19 18:32:52 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@175 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
3de7cf9648
commit
68baffc0b7
3 changed files with 8 additions and 10 deletions
|
|
@ -457,11 +457,12 @@
|
|||
// $extra_var를 serialize
|
||||
$args->extra_var = serialize($extra_var);
|
||||
|
||||
// is_default=='Y' 이면
|
||||
if($args->is_default=='Y') $oModule->clearDefaultModule();
|
||||
|
||||
// module 모듈의 controller 객체 생성
|
||||
$oModuleController = &getController('module');
|
||||
|
||||
// is_default=='Y' 이면
|
||||
if($args->is_default=='Y') $oModuleController->clearDefaultModule();
|
||||
|
||||
// module_srl의 값에 따라 insert/update
|
||||
if(!$args->module_srl) {
|
||||
$output = $oModuleController->insertModule($args);
|
||||
|
|
@ -485,8 +486,8 @@
|
|||
$module_srl = Context::get('module_srl');
|
||||
|
||||
// 원본을 구해온다
|
||||
$oModuleModel = &getModel('module');
|
||||
$output = $oModuleModel->deleteModule($module_srl);
|
||||
$oModuleController = &getController('module');
|
||||
$output = $oModuleController->deleteModule($module_srl);
|
||||
if(!$output->toBool()) return $output;
|
||||
|
||||
$this->add('module','board');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue