From 4bd32005b56f6ec741ceeed0a1745fe89f291085 Mon Sep 17 00:00:00 2001 From: mistic100 Date: Mon, 2 Jun 2014 07:55:46 +0000 Subject: feature 3010 : replace trigger_action/event by trigger_notify/change git-svn-id: http://piwigo.org/svn/trunk@28587 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/functions_metadata.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/functions_metadata.inc.php') diff --git a/include/functions_metadata.inc.php b/include/functions_metadata.inc.php index e19b82423..148f8f775 100644 --- a/include/functions_metadata.inc.php +++ b/include/functions_metadata.inc.php @@ -104,7 +104,7 @@ function clean_iptc_value($value) { // apparently mac uses some MacRoman crap encoding. I don't know // how to detect it so a plugin should do the trick. - $value = trigger_event('clean_iptc_value', $value); + $value = trigger_change('clean_iptc_value', $value); if ( ($qual = qualify_utf8($value)) != 0) {// has non ascii chars if ($qual>0) @@ -152,7 +152,7 @@ function get_exif_data($filename, $map) // Read EXIF data if ($exif = @read_exif_data($filename)) { - $exif = trigger_event('format_exif_data', $exif, $filename, $map); + $exif = trigger_change('format_exif_data', $exif, $filename, $map); // configured fields foreach ($map as $key => $field) -- cgit v1.2.3