| @@ 139-142 (lines=4) @@ | ||
| 136 | if(!$oDB->isColumnExists('files', 'upload_target_type')) $oDB->addColumn('files', 'upload_target_type', 'char', '3'); |
|
| 137 | ||
| 138 | // 2012. 08. 29 Add a trigger to copy additional setting when the module is copied |
|
| 139 | if(!$oModuleModel->getTrigger('module.procModuleAdminCopyModule', 'file', 'controller', 'triggerCopyModule', 'after')) |
|
| 140 | { |
|
| 141 | $oModuleController->insertTrigger('module.procModuleAdminCopyModule', 'file', 'controller', 'triggerCopyModule', 'after'); |
|
| 142 | } |
|
| 143 | ||
| 144 | if(!$oDB->isColumnExists('files', 'cover_image')) $oDB->addColumn('files', 'cover_image', 'char', '1', 'N'); |
|
| 145 | ||
| @@ 76-79 (lines=4) @@ | ||
| 73 | $oModuleController->deleteTrigger('display', 'rss', 'controller', 'triggerRssUrlInsert', 'before'); |
|
| 74 | ||
| 75 | // 2012. 08. 29 Add a trigger to copy additional setting when the module is copied |
|
| 76 | if(!$oModuleModel->getTrigger('module.procModuleAdminCopyModule', 'rss', 'controller', 'triggerCopyModule', 'after')) |
|
| 77 | { |
|
| 78 | $oModuleController->insertTrigger('module.procModuleAdminCopyModule', 'rss', 'controller', 'triggerCopyModule', 'after'); |
|
| 79 | } |
|
| 80 | ||
| 81 | return new Object(0, 'success_updated'); |
|
| 82 | } |
|
| @@ 317-320 (lines=4) @@ | ||
| 314 | $oDB->addIndex("documents", "idx_module_status", array("module_srl","status")); |
|
| 315 | ||
| 316 | // 2012. 02. 27 Add a trigger to copy extra keys when the module is copied |
|
| 317 | if(!$oModuleModel->getTrigger('module.procModuleAdminCopyModule', 'document', 'controller', 'triggerCopyModuleExtraKeys', 'after')) |
|
| 318 | { |
|
| 319 | $oModuleController->insertTrigger('module.procModuleAdminCopyModule', 'document', 'controller', 'triggerCopyModuleExtraKeys', 'after'); |
|
| 320 | } |
|
| 321 | ||
| 322 | // 2012. 08. 29 Add a trigger to copy additional setting when the module is copied |
|
| 323 | if(!$oModuleModel->getTrigger('module.procModuleAdminCopyModule', 'document', 'controller', 'triggerCopyModule', 'after')) |
|
| @@ 323-326 (lines=4) @@ | ||
| 320 | } |
|
| 321 | ||
| 322 | // 2012. 08. 29 Add a trigger to copy additional setting when the module is copied |
|
| 323 | if(!$oModuleModel->getTrigger('module.procModuleAdminCopyModule', 'document', 'controller', 'triggerCopyModule', 'after')) |
|
| 324 | { |
|
| 325 | $oModuleController->insertTrigger('module.procModuleAdminCopyModule', 'document', 'controller', 'triggerCopyModule', 'after'); |
|
| 326 | } |
|
| 327 | ||
| 328 | return new Object(0,'success_updated'); |
|
| 329 | } |
|