Clean up some comments and line spacing

This commit is contained in:
Kijin Sung 2017-11-25 19:05:24 +09:00
parent bb51db5956
commit 6d6acd5c9e
2 changed files with 72 additions and 20 deletions

View file

@ -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())
{