Changeset 28627


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

use trigger_notify and trigger_change

Location:
extensions/BatchDownloader/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/BatchDownloader/include/BatchDownloader.class.php

    r26849 r28627  
    467467      $this->updateParam('date_creation', date('Y-m-d H:i:s')); 
    468468 
    469       trigger_action('batchdownload_init_zip', $this->data, array_keys($this->images)); // triggered once for all 
     469      trigger_notify('batchdownload_init_zip', $this->data, array_keys($this->images)); // triggered once for all 
    470470    } 
    471471 
     
    571571      pwg_query($query); 
    572572 
    573       trigger_action('batchdownload_end_zip', $this->data, $images_added); // triggered for each zip 
     573      trigger_notify('batchdownload_end_zip', $this->data, $images_added); // triggered for each zip 
    574574 
    575575      // all images added ? 
     
    763763        { 
    764764          $set['NAME'] = l10n('Album').': '.get_cat_display_name($category['upper_names']); 
    765           $set['sNAME'] = l10n('Album').': '.trigger_event('render_category_name', $category['name']); 
    766           $set['COMMENT'] = trigger_event('render_category_description', $category['comment']); 
     765          $set['sNAME'] = l10n('Album').': '.trigger_change('render_category_name', $category['name']); 
     766          $set['COMMENT'] = trigger_change('render_category_description', $category['comment']); 
    767767 
    768768          if (!empty($category['permalink'])) 
     
    804804          $set['NAME'].= 
    805805            '<a href="' . make_index_url(array('tags'=>array($tag))) . '">' 
    806             .trigger_event('render_tag_name', $tag['name']) 
     806            .trigger_change('render_tag_name', $tag['name']) 
    807807            .'</a>'; 
    808808          $set['BASENAME'].= '-'.$tag['url_name']; 
  • extensions/BatchDownloader/include/functions.inc.php

    r26849 r28627  
    9494  } 
    9595 
    96   return trigger_event('batchdownload_get_set_info', $set); 
     96  return trigger_change('batchdownload_get_set_info', $set); 
    9797} 
    9898 
Note: See TracChangeset for help on using the changeset viewer.