mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 19:21:40 +09:00
Clean up some comments and line spacing
This commit is contained in:
parent
bb51db5956
commit
6d6acd5c9e
2 changed files with 72 additions and 20 deletions
|
|
@ -345,8 +345,10 @@ class commentController extends comment
|
|||
}
|
||||
$obj->__isupdate = FALSE;
|
||||
|
||||
// call a trigger (before)
|
||||
// Remove manual member info to prevent forgery. This variable can be set by triggers only.
|
||||
unset($obj->manual_member_info);
|
||||
|
||||
// call a trigger (before)
|
||||
$output = ModuleHandler::triggerCall('comment.insertComment', 'before', $obj);
|
||||
if(!$output->toBool())
|
||||
{
|
||||
|
|
@ -708,8 +710,10 @@ class commentController extends comment
|
|||
|
||||
$obj->__isupdate = TRUE;
|
||||
|
||||
// call a trigger (before)
|
||||
// Remove manual member info to prevent forgery. This variable can be set by triggers only.
|
||||
unset($obj->manual_member_info);
|
||||
|
||||
// call a trigger (before)
|
||||
$output = ModuleHandler::triggerCall('comment.updateComment', 'before', $obj);
|
||||
if(!$output->toBool())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue