diff options
author | mistic100 <mistic@piwigo.org> | 2014-06-02 07:55:46 +0000 |
---|---|---|
committer | mistic100 <mistic@piwigo.org> | 2014-06-02 07:55:46 +0000 |
commit | 4bd32005b56f6ec741ceeed0a1745fe89f291085 (patch) | |
tree | e2ee9bb68d07822bb7c0122831a0ce313a5af2d2 /admin/history.php | |
parent | f98edc7a2e423bed534977107e4cb892180cb946 (diff) |
feature 3010 : replace trigger_action/event by trigger_notify/change
git-svn-id: http://piwigo.org/svn/trunk@28587 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/history.php')
-rw-r--r-- | admin/history.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/admin/history.php b/admin/history.php index 68b997736..7cc51d821 100644 --- a/admin/history.php +++ b/admin/history.php @@ -216,7 +216,7 @@ INSERT INTO '.SEARCH_TABLE.' } /*TODO - no need to get a huge number of rows from db (should take only what needed for display + SQL_CALC_FOUND_ROWS*/ - $data = trigger_event('get_history', array(), $page['search'], $types); + $data = trigger_change('get_history', array(), $page['search'], $types); usort($data, 'history_compare'); $page['nb_lines'] = count($data); @@ -316,7 +316,7 @@ SELECT $result = pwg_query($query); while ($row=pwg_db_fetch_assoc($result)) { - $name_of_tag[ $row['id'] ] = '<a href="'.make_index_url( array('tags'=>array($row))).'">'.trigger_event("render_tag_name", $row['name'], $row).'</a>'; + $name_of_tag[ $row['id'] ] = '<a href="'.make_index_url( array('tags'=>array($row))).'">'.trigger_change("render_tag_name", $row['name'], $row).'</a>'; } } @@ -408,7 +408,7 @@ SELECT if (isset($image_infos[$line['image_id']]['label'])) { - $image_title.= ' '.trigger_event('render_element_description', $image_infos[$line['image_id']]['label']); + $image_title.= ' '.trigger_change('render_element_description', $image_infos[$line['image_id']]['label']); } else { |