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/admin/notification_by_mail.php

    r26461 r28587  
    254254
    255255        $customize_mail_content =
    256           trigger_event('nbm_render_global_customize_mail_content', $customize_mail_content);
     256          trigger_change('nbm_render_global_customize_mail_content', $customize_mail_content);
    257257
    258258
     
    341341
    342342              $nbm_user_customize_mail_content =
    343                 trigger_event('nbm_render_user_customize_mail_content',
     343                trigger_change('nbm_render_user_customize_mail_content',
    344344                  $customize_mail_content, $nbm_user);
    345345              if (!empty($nbm_user_customize_mail_content))
     
    483483// +-----------------------------------------------------------------------+
    484484add_event_handler('nbm_render_global_customize_mail_content', 'render_global_customize_mail_content');
    485 trigger_action('nbm_event_handler_added');
     485trigger_notify('nbm_event_handler_added');
    486486
    487487
Note: See TracChangeset for help on using the changeset viewer.