Changeset 26851


Ignore:
Timestamp:
Jan 18, 2014, 1:54:26 PM (7 years ago)
Author:
mistic100
Message:

keep old trigger functions (PHP 5.2 issue)

Location:
extensions/GuestBook
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/GuestBook/admin/pending.php

    r26111 r26851  
    8282    array(
    8383      'ID' => $row['id'],
    84       'AUTHOR' => trigger_change('render_comment_author', $author_name),
     84      'AUTHOR' => trigger_event('render_comment_author', $author_name),
    8585      'DATE' => format_date($row['date'], true),
    86       'CONTENT' => trigger_change('render_comment_content', $row['content'], 'guestbook'),
     86      'CONTENT' => trigger_event('render_comment_content', $row['content'], 'guestbook'),
    8787      'EMAIL' => $row['email'],
    8888      'WEBSITE' => $row['website'],
  • extensions/GuestBook/include/functions_comment.inc.php

    r26111 r26851  
    133133 
    134134  // perform more spam check
    135   $comment_action = trigger_change('user_comment_check', $comment_action, $comm, 'guestbook');
     135  $comment_action = trigger_event('user_comment_check', $comment_action, $comm, 'guestbook');
    136136
    137137  if ($comment_action!='reject')
  • extensions/GuestBook/include/guestbook.inc.php

    r26111 r26851  
    219219    $tpl_comment = array(
    220220      'ID' => $row['id'],
    221       'AUTHOR' => trigger_change('render_comment_author', $author),
     221      'AUTHOR' => trigger_event('render_comment_author', $author),
    222222      'DATE' => format_date($row['date'], true),
    223       'CONTENT' => trigger_change('render_comment_content', $row['content'], 'guestbook'),
     223      'CONTENT' => trigger_event('render_comment_content', $row['content'], 'guestbook'),
    224224      'WEBSITE' => $row['website'],
    225225      );
Note: See TracChangeset for help on using the changeset viewer.