Ignore:
Timestamp:
Jun 2, 2014, 9:55:46 AM (10 years ago)
Author:
mistic100
Message:

feature 3010 : replace trigger_action/event by trigger_notify/change

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/picture_comment.inc.php

    r28183 r28587  
    7474
    7575  // allow plugins to notify what's going on
    76   trigger_action( 'user_comment_insertion',
     76  trigger_notify( 'user_comment_insertion',
    7777      array_merge($comm, array('action'=>$comment_action) )
    7878    );
     
    182182        array(
    183183          'ID' => $row['id'],
    184           'AUTHOR' => trigger_event('render_comment_author', $row['author']),
     184          'AUTHOR' => trigger_change('render_comment_author', $row['author']),
    185185          'DATE' => format_date($row['date'], true),
    186           'CONTENT' => trigger_event('render_comment_content',$row['content']),
     186          'CONTENT' => trigger_change('render_comment_content',$row['content']),
    187187          'WEBSITE_URL' => $row['website_url'],
    188188        );
Note: See TracChangeset for help on using the changeset viewer.