@@ 326-329 (lines=4) @@ | ||
323 | $oDB->addIndex("documents", "idx_module_status", array("module_srl","status")); |
|
324 | ||
325 | // 2012. 02. 27 Add a trigger to copy extra keys when the module is copied |
|
326 | if(!$oModuleModel->getTrigger('module.procModuleAdminCopyModule', 'document', 'controller', 'triggerCopyModuleExtraKeys', 'after')) |
|
327 | { |
|
328 | $oModuleController->insertTrigger('module.procModuleAdminCopyModule', 'document', 'controller', 'triggerCopyModuleExtraKeys', 'after'); |
|
329 | } |
|
330 | ||
331 | // 2012. 08. 29 Add a trigger to copy additional setting when the module is copied |
|
332 | if(!$oModuleModel->getTrigger('module.procModuleAdminCopyModule', 'document', 'controller', 'triggerCopyModule', 'after')) |
|
@@ 332-335 (lines=4) @@ | ||
329 | } |
|
330 | ||
331 | // 2012. 08. 29 Add a trigger to copy additional setting when the module is copied |
|
332 | if(!$oModuleModel->getTrigger('module.procModuleAdminCopyModule', 'document', 'controller', 'triggerCopyModule', 'after')) |
|
333 | { |
|
334 | $oModuleController->insertTrigger('module.procModuleAdminCopyModule', 'document', 'controller', 'triggerCopyModule', 'after'); |
|
335 | } |
|
336 | ||
337 | $oModuleController->insertUpdatedLog($version_update_id); |
|
338 | } |
@@ 149-152 (lines=4) @@ | ||
146 | if(!$oDB->isColumnExists('files', 'upload_target_type')) $oDB->addColumn('files', 'upload_target_type', 'char', '3'); |
|
147 | ||
148 | // 2012. 08. 29 Add a trigger to copy additional setting when the module is copied |
|
149 | if(!$oModuleModel->getTrigger('module.procModuleAdminCopyModule', 'file', 'controller', 'triggerCopyModule', 'after')) |
|
150 | { |
|
151 | $oModuleController->insertTrigger('module.procModuleAdminCopyModule', 'file', 'controller', 'triggerCopyModule', 'after'); |
|
152 | } |
|
153 | ||
154 | if(!$oDB->isColumnExists('files', 'cover_image')) $oDB->addColumn('files', 'cover_image', 'char', '1', 'N'); |
|
155 |
@@ 86-89 (lines=4) @@ | ||
83 | $oModuleController->deleteTrigger('display', 'rss', 'controller', 'triggerRssUrlInsert', 'before'); |
|
84 | ||
85 | // 2012. 08. 29 Add a trigger to copy additional setting when the module is copied |
|
86 | if(!$oModuleModel->getTrigger('module.procModuleAdminCopyModule', 'rss', 'controller', 'triggerCopyModule', 'after')) |
|
87 | { |
|
88 | $oModuleController->insertTrigger('module.procModuleAdminCopyModule', 'rss', 'controller', 'triggerCopyModule', 'after'); |
|
89 | } |
|
90 | ||
91 | $oModuleController->insertUpdatedLog($version_update_id); |
|
92 | } |