Changeset 26853


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

keep old trigger functions (PHP 5.2 issue)

File:
1 edited

Legend:

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

    r26816 r26853  
    9393  }
    9494
    95   $comm['author'] = trigger_change('render_comment_author', $comm['author']);
    96   $comm['content'] = trigger_change('render_comment_content', $comm['content']);
     95  $comm['author'] = trigger_event('render_comment_author', $comm['author']);
     96  $comm['content'] = trigger_event('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_change('loc_before_subscribe_to_comments', true, $email, $type, $element_id))
     189    if (!trigger_event('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_change('render_element_name', $element['name']);
     463  $element['name'] = trigger_event('render_element_name', $element['name']);
    464464
    465465  $element['url'] = make_picture_url(array(
     
    513513    ));
    514514
    515   $element['name'] = trigger_change('render_category_name', $element['name']);
     515  $element['name'] = trigger_event('render_category_name', $element['name']);
    516516
    517517  if ($with_thumb)
Note: See TracChangeset for help on using the changeset viewer.