@@ 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(); |
@@ 893-901 (lines=9) @@ | ||
890 | } |
|
891 | ||
892 | // call a trigger (after) |
|
893 | if($output->toBool()) |
|
894 | { |
|
895 | $trigger_output = ModuleHandler::triggerCall('document.restoreTrash', 'after', $originObject); |
|
896 | if(!$trigger_output->toBool()) |
|
897 | { |
|
898 | $oDB->rollback(); |
|
899 | return $trigger_output; |
|
900 | } |
|
901 | } |
|
902 | ||
903 | // commit |
|
904 | $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(); |
@@ 2159-2167 (lines=9) @@ | ||
2156 | $this->_sendAuthMail($auth_args, $args); |
|
2157 | } |
|
2158 | // Call a trigger (after) |
|
2159 | if($output->toBool()) |
|
2160 | { |
|
2161 | $trigger_output = ModuleHandler::triggerCall('member.insertMember', 'after', $args); |
|
2162 | if(!$trigger_output->toBool()) |
|
2163 | { |
|
2164 | $oDB->rollback(); |
|
2165 | return $trigger_output; |
|
2166 | } |
|
2167 | } |
|
2168 | ||
2169 | $oDB->commit(true); |
|
2170 | ||
@@ 2359-2366 (lines=8) @@ | ||
2356 | } |
|
2357 | } |
|
2358 | // Call a trigger (after) |
|
2359 | if($output->toBool()) { |
|
2360 | $trigger_output = ModuleHandler::triggerCall('member.updateMember', 'after', $args); |
|
2361 | if(!$trigger_output->toBool()) |
|
2362 | { |
|
2363 | $oDB->rollback(); |
|
2364 | return $trigger_output; |
|
2365 | } |
|
2366 | } |
|
2367 | ||
2368 | $oDB->commit(); |
|
2369 | ||
@@ 2484-2492 (lines=9) @@ | ||
2481 | return $output; |
|
2482 | } |
|
2483 | // Call a trigger (after) |
|
2484 | if($output->toBool()) |
|
2485 | { |
|
2486 | $trigger_output = ModuleHandler::triggerCall('member.deleteMember', 'after', $trigger_obj); |
|
2487 | if(!$trigger_output->toBool()) |
|
2488 | { |
|
2489 | $oDB->rollback(); |
|
2490 | return $trigger_output; |
|
2491 | } |
|
2492 | } |
|
2493 | ||
2494 | $oDB->commit(); |
|
2495 | // Name, image, image, mark, sign, delete |
@@ 761-769 (lines=9) @@ | ||
758 | // Remove the module manager |
|
759 | $this->deleteAdminId($module_srl); |
|
760 | // Call a trigger (after) |
|
761 | if($output->toBool()) |
|
762 | { |
|
763 | $trigger_output = ModuleHandler::triggerCall('module.deleteModule', 'after', $trigger_obj); |
|
764 | if(!$trigger_output->toBool()) |
|
765 | { |
|
766 | $oDB->rollback(); |
|
767 | return $trigger_output; |
|
768 | } |
|
769 | } |
|
770 | ||
771 | // commit |
|
772 | $oDB->commit(); |