mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 01:03:31 +02:00
feature 3010 : replace trigger_action/event by trigger_notify/change
git-svn-id: http://piwigo.org/svn/trunk@28587 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user