Changeset 28587 for trunk/include/functions_comment.inc.php
- Timestamp:
- Jun 2, 2014, 9:55:46 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions_comment.inc.php
r26916 r28587 32 32 /** 33 33 * Does basic check on comment and returns action to perform. 34 * This method is called by a trigger_ event()34 * This method is called by a trigger_change() 35 35 * 36 36 * @param string $action before check … … 212 212 213 213 // perform more spam check 214 $comment_action = trigger_ event('user_comment_check',214 $comment_action = trigger_change('user_comment_check', 215 215 $comment_action, $comm 216 216 ); … … 304 304 'comment_id' => $comment_id 305 305 )); 306 trigger_ action('user_comment_deletion', $comment_id);306 trigger_notify('user_comment_deletion', $comment_id); 307 307 308 308 return true; … … 343 343 // perform more spam check 344 344 $comment_action = 345 trigger_ event('user_comment_check',345 trigger_change('user_comment_check', 346 346 $comment_action, 347 347 array_merge($comment, … … 510 510 511 511 invalidate_user_cache_nb_comments(); 512 trigger_ action('user_comment_validation', $comment_id);512 trigger_notify('user_comment_validation', $comment_id); 513 513 } 514 514
Note: See TracChangeset
for help on using the changeset viewer.