Ignore:
Timestamp:
Jan 18, 2014, 1:48:08 PM (10 years ago)
Author:
mistic100
Message:

keep old trigger functions (PHP 5.2 issue)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Comments_on_Albums/trunk/include/coa_albums.php

    r26143 r26848  
    156156
    157157  // allow plugins to notify what's going on
    158   trigger_notify('user_comment_insertion',
     158  trigger_action('user_comment_insertion',
    159159      array_merge($comm, array('action'=>$comment_action) ),
    160160      'album'
     
    284284        'ID' => $row['id'],
    285285        'AUTHOR' => trigger_change('render_comment_author', $row['author']),
    286         'DATE' => format_date($row['date'], true),
    287         'CONTENT' => trigger_change('render_comment_content', $row['content'], 'album'),
     286        'DATE' => trigger_event($row['date'], true),
     287        'CONTENT' => trigger_event('render_comment_content', $row['content'], 'album'),
    288288        'WEBSITE_URL' => $row['website_url'],
    289289        );
     
    387387  $template->set_filename('comments_on_albums', realpath(COA_PATH . 'template/albums.tpl'));
    388388
    389   trigger_notify('loc_end_coa');
     389  trigger_action('loc_end_coa');
    390390
    391391  if (isset($pwg_loaded_plugins['rv_tscroller']) and count($page['navigation_bar']) != 0)
Note: See TracChangeset for help on using the changeset viewer.