remove caller because it failed in phpstan

This commit is contained in:
Jon Bendtsen 2024-03-16 00:41:45 +01:00 committed by GitHub
parent e90d35870b
commit 5c98d38061
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;
}