fixes #525 add trigger at the end of add_uploaded_file

This commit is contained in:
plegall
2020-10-26 16:26:31 +01:00
parent f8f219b6ee
commit 3e58f67c0f
2 changed files with 9 additions and 0 deletions

View File

@@ -400,6 +400,8 @@ SELECT
fetchRemote($derivative_url, $dest);
trigger_notify('loc_end_add_uploaded_file', $image_infos);
return $image_id;
}

View File

@@ -461,6 +461,13 @@ array(
'files' => array('notification.php'),
'infos' => 'New in 2.5',
),
array(
'name' => 'loc_end_add_uploaded_file',
'type' => 'trigger_notify',
'vars' => array('array', 'image_infos'),
'files' => array('admin\include\functions_upload.inc.php (add_uploaded_file)'),
'infos' => 'New in 2.11',
),
array(
'name' => 'loc_end_password',
'type' => 'trigger_notify',