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 /include/functions_metadata.inc.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 'include/functions_metadata.inc.php')
-rw-r--r-- | include/functions_metadata.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
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) |