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/functions_mail.inc.php

    r28185 r28587  
    313313    }
    314314   
    315     trigger_action('loading_lang');
     315    trigger_notify('loading_lang');
    316316    load_language('lang', PHPWG_ROOT_PATH.PWG_LOCAL_DIR,
    317317      array('language'=>$language, 'no_fallback'=>true, 'local'=>true)
     
    697697      {
    698698        $conf_mail[$cache_key]['theme'] = get_mail_template($content_type);
    699         trigger_action('before_parse_mail_template', $cache_key, $content_type);
     699        trigger_notify('before_parse_mail_template', $cache_key, $content_type);
    700700      }
    701701      $template = &$conf_mail[$cache_key]['theme'];
     
    855855
    856856  $ret = true;
    857   $pre_result = trigger_event('before_send_mail', true, $to, $args, $mail);
     857  $pre_result = trigger_change('before_send_mail', true, $to, $args, $mail);
    858858
    859859  if ($pre_result)
     
    946946}
    947947
    948 trigger_action('functions_mail_included');
     948trigger_notify('functions_mail_included');
    949949
    950950?>
Note: See TracChangeset for help on using the changeset viewer.