diff --git a/include/functions_comment.inc.php b/include/functions_comment.inc.php index b2a4547d1..569ada0fc 100644 --- a/include/functions_comment.inc.php +++ b/include/functions_comment.inc.php @@ -222,6 +222,8 @@ $user_where_clause.' 'comment_id' => $comment_id )); } + + trigger_action('user_comment_deletion', $comment_id); } /** @@ -384,5 +386,7 @@ UPDATE '.COMMENTS_TABLE.' WHERE id = '.$comment_id.' ;'; pwg_query($query); + + trigger_action('user_comment_validation', $comment_id); } ?> \ No newline at end of file