diff --git a/htdocs/societe/class/api_thirdparties.class.php b/htdocs/societe/class/api_thirdparties.class.php index f8b732e4b5e..59a8a53ffd7 100644 --- a/htdocs/societe/class/api_thirdparties.class.php +++ b/htdocs/societe/class/api_thirdparties.class.php @@ -1204,12 +1204,6 @@ class Thirdparties extends DolibarrApi } foreach ($request_data as $field => $value) { - if ($field === 'caller') { - // Add a mention of caller so on trigger called after action, we can filter to avoid a loop if we try to sync back again with the caller - $notification->context['caller'] = $request_data['caller']; - continue; - } - $notification->$field = $value; }