@@ 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(); |
@@ 901-909 (lines=9) @@ | ||
898 | } |
|
899 | ||
900 | // call a trigger (after) |
|
901 | if($output->toBool()) |
|
902 | { |
|
903 | $trigger_output = ModuleHandler::triggerCall('document.restoreTrash', 'after', $originObject); |
|
904 | if(!$trigger_output->toBool()) |
|
905 | { |
|
906 | $oDB->rollback(); |
|
907 | return $trigger_output; |
|
908 | } |
|
909 | } |
|
910 | ||
911 | // commit |
|
912 | $oDB->commit(); |
@@ 2254-2262 (lines=9) @@ | ||
2251 | $this->_sendAuthMail($auth_args, $args); |
|
2252 | } |
|
2253 | // Call a trigger (after) |
|
2254 | if($output->toBool()) |
|
2255 | { |
|
2256 | $trigger_output = ModuleHandler::triggerCall('member.insertMember', 'after', $args); |
|
2257 | if(!$trigger_output->toBool()) |
|
2258 | { |
|
2259 | $oDB->rollback(); |
|
2260 | return $trigger_output; |
|
2261 | } |
|
2262 | } |
|
2263 | ||
2264 | $oDB->commit(true); |
|
2265 | ||
@@ 2454-2461 (lines=8) @@ | ||
2451 | } |
|
2452 | } |
|
2453 | // Call a trigger (after) |
|
2454 | if($output->toBool()) { |
|
2455 | $trigger_output = ModuleHandler::triggerCall('member.updateMember', 'after', $args); |
|
2456 | if(!$trigger_output->toBool()) |
|
2457 | { |
|
2458 | $oDB->rollback(); |
|
2459 | return $trigger_output; |
|
2460 | } |
|
2461 | } |
|
2462 | ||
2463 | $oDB->commit(); |
|
2464 | ||
@@ 2579-2587 (lines=9) @@ | ||
2576 | return $output; |
|
2577 | } |
|
2578 | // Call a trigger (after) |
|
2579 | if($output->toBool()) |
|
2580 | { |
|
2581 | $trigger_output = ModuleHandler::triggerCall('member.deleteMember', 'after', $trigger_obj); |
|
2582 | if(!$trigger_output->toBool()) |
|
2583 | { |
|
2584 | $oDB->rollback(); |
|
2585 | return $trigger_output; |
|
2586 | } |
|
2587 | } |
|
2588 | ||
2589 | $oDB->commit(); |
|
2590 | // Name, image, image, mark, sign, delete |