@@ 461-469 (lines=9) @@ | ||
458 | } |
|
459 | ||
460 | // call a trigger(after) |
|
461 | if($output->toBool()) |
|
462 | { |
|
463 | $trigger_output = ModuleHandler::triggerCall('comment.insertComment', 'after', $obj); |
|
464 | if(!$trigger_output->toBool()) |
|
465 | { |
|
466 | $oDB->rollback(); |
|
467 | return $trigger_output; |
|
468 | } |
|
469 | } |
|
470 | ||
471 | // commit |
|
472 | $oDB->commit(); |
|
@@ 762-770 (lines=9) @@ | ||
759 | } |
|
760 | ||
761 | // call a trigger (after) |
|
762 | if($output->toBool()) |
|
763 | { |
|
764 | $trigger_output = ModuleHandler::triggerCall('comment.updateComment', 'after', $obj); |
|
765 | if(!$trigger_output->toBool()) |
|
766 | { |
|
767 | $oDB->rollback(); |
|
768 | return $trigger_output; |
|
769 | } |
|
770 | } |
|
771 | ||
772 | // commit |
|
773 | $oDB->commit(); |
@@ 330-338 (lines=9) @@ | ||
327 | // Update the category if the category_srl exists. |
|
328 | if($obj->category_srl) $this->updateCategoryCount($obj->module_srl, $obj->category_srl); |
|
329 | // Call a trigger (after) |
|
330 | if($output->toBool()) |
|
331 | { |
|
332 | $trigger_output = ModuleHandler::triggerCall('document.insertDocument', 'after', $obj); |
|
333 | if(!$trigger_output->toBool()) |
|
334 | { |
|
335 | $oDB->rollback(); |
|
336 | return $trigger_output; |
|
337 | } |
|
338 | } |
|
339 | ||
340 | // commit |
|
341 | $oDB->commit(); |
|
@@ 567-575 (lines=9) @@ | ||
564 | if($obj->category_srl) $this->updateCategoryCount($obj->module_srl, $obj->category_srl); |
|
565 | } |
|
566 | // Call a trigger (after) |
|
567 | if($output->toBool()) |
|
568 | { |
|
569 | $trigger_output = ModuleHandler::triggerCall('document.updateDocument', 'after', $obj); |
|
570 | if(!$trigger_output->toBool()) |
|
571 | { |
|
572 | $oDB->rollback(); |
|
573 | return $trigger_output; |
|
574 | } |
|
575 | } |
|
576 | ||
577 | // commit |
|
578 | $oDB->commit(); |
|
@@ 809-817 (lines=9) @@ | ||
806 | executeQuery('file.updateFileValid', $args); |
|
807 | } |
|
808 | // Call a trigger (after) |
|
809 | if($output->toBool()) |
|
810 | { |
|
811 | $trigger_output = ModuleHandler::triggerCall('document.moveDocumentToTrash', 'after', $obj); |
|
812 | if(!$trigger_output->toBool()) |
|
813 | { |
|
814 | $oDB->rollback(); |
|
815 | return $trigger_output; |
|
816 | } |
|
817 | } |
|
818 | ||
819 | // commit |
|
820 | $oDB->commit(); |
@@ 773-781 (lines=9) @@ | ||
770 | // Remove the module manager |
|
771 | $this->deleteAdminId($module_srl); |
|
772 | // Call a trigger (after) |
|
773 | if($output->toBool()) |
|
774 | { |
|
775 | $trigger_output = ModuleHandler::triggerCall('module.deleteModule', 'after', $trigger_obj); |
|
776 | if(!$trigger_output->toBool()) |
|
777 | { |
|
778 | $oDB->rollback(); |
|
779 | return $trigger_output; |
|
780 | } |
|
781 | } |
|
782 | ||
783 | // commit |
|
784 | $oDB->commit(); |
@@ 2279-2287 (lines=9) @@ | ||
2276 | $this->_sendAuthMail($auth_args, $args); |
|
2277 | } |
|
2278 | // Call a trigger (after) |
|
2279 | if($output->toBool()) |
|
2280 | { |
|
2281 | $trigger_output = ModuleHandler::triggerCall('member.insertMember', 'after', $args); |
|
2282 | if(!$trigger_output->toBool()) |
|
2283 | { |
|
2284 | $oDB->rollback(); |
|
2285 | return $trigger_output; |
|
2286 | } |
|
2287 | } |
|
2288 | ||
2289 | $oDB->commit(true); |
|
2290 | ||
@@ 2479-2486 (lines=8) @@ | ||
2476 | } |
|
2477 | } |
|
2478 | // Call a trigger (after) |
|
2479 | if($output->toBool()) { |
|
2480 | $trigger_output = ModuleHandler::triggerCall('member.updateMember', 'after', $args); |
|
2481 | if(!$trigger_output->toBool()) |
|
2482 | { |
|
2483 | $oDB->rollback(); |
|
2484 | return $trigger_output; |
|
2485 | } |
|
2486 | } |
|
2487 | ||
2488 | $oDB->commit(); |
|
2489 | ||
@@ 2604-2612 (lines=9) @@ | ||
2601 | return $output; |
|
2602 | } |
|
2603 | // Call a trigger (after) |
|
2604 | if($output->toBool()) |
|
2605 | { |
|
2606 | $trigger_output = ModuleHandler::triggerCall('member.deleteMember', 'after', $trigger_obj); |
|
2607 | if(!$trigger_output->toBool()) |
|
2608 | { |
|
2609 | $oDB->rollback(); |
|
2610 | return $trigger_output; |
|
2611 | } |
|
2612 | } |
|
2613 | ||
2614 | $oDB->commit(); |
|
2615 | // Name, image, image, mark, sign, delete |
@@ 917-925 (lines=9) @@ | ||
914 | } |
|
915 | ||
916 | // call a trigger (after) |
|
917 | if($output->toBool()) |
|
918 | { |
|
919 | $trigger_output = ModuleHandler::triggerCall('document.restoreTrash', 'after', $originObject); |
|
920 | if(!$trigger_output->toBool()) |
|
921 | { |
|
922 | $oDB->rollback(); |
|
923 | return $trigger_output; |
|
924 | } |
|
925 | } |
|
926 | ||
927 | // commit |
|
928 | $oDB->commit(); |