All triggers with a name XXX_UPDATE have been renamed XXX_MODIFY for

code consistency purpose.
This commit is contained in:
Laurent Destailleur
2022-04-02 10:31:58 +02:00
parent 2eaae819f2
commit 5b91ae062f
19 changed files with 24 additions and 24 deletions

View File

@@ -4024,7 +4024,7 @@ abstract class CommonObject
$this->context['link_source_type'] = $sourcetype;
$this->context['link_target_id'] = $targetid;
$this->context['link_target_type'] = $targettype;
$result = $this->call_trigger('OBJECT_LINK_UPDATE', $f_user);
$result = $this->call_trigger('OBJECT_LINK_MODIFY', $f_user);
if ($result < 0) {
$error++;
}