Changeset 28632


Ignore:
Timestamp:
06/04/14 13:31:49 (5 years ago)
Author:
mistic100
Message:

use trigger_change

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Subscribe_to_comments/include/functions.inc.php

    r27283 r28632  
    9393  } 
    9494 
    95   $comm['author'] = trigger_event('render_comment_author', $comm['author']); 
    96   $comm['content'] = trigger_event('render_comment_content', $comm['content']); 
     95  $comm['author'] = trigger_change('render_comment_author', $comm['author']); 
     96  $comm['content'] = trigger_change('render_comment_content', $comm['content']); 
    9797 
    9898  include_once(PHPWG_ROOT_PATH.'include/functions_mail.inc.php'); 
     
    187187  if ($spam_check) 
    188188  { 
    189     if (!trigger_event('loc_before_subscribe_to_comments', true, $email, $type, $element_id)) 
     189    if (!trigger_change('loc_before_subscribe_to_comments', true, $email, $type, $element_id)) 
    190190    { 
    191191      return false; 
     
    461461    $element['name'] = get_name_from_file($element['file']); 
    462462  } 
    463   $element['name'] = trigger_event('render_element_name', $element['name']); 
     463  $element['name'] = trigger_change('render_element_name', $element['name']); 
    464464 
    465465  $element['url'] = make_picture_url(array( 
     
    513513    )); 
    514514 
    515   $element['name'] = trigger_event('render_category_name', $element['name']); 
     515  $element['name'] = trigger_change('render_category_name', $element['name']); 
    516516 
    517517  if ($with_thumb) 
Note: See TracChangeset for help on using the changeset viewer.