We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49fb887 commit 1ee7a5aCopy full SHA for 1ee7a5a
1 file changed
lib/Model/Letter.php
@@ -1108,12 +1108,6 @@ public function getTrackingEvents()
1108
*/
1109
public function setTrackingEvents($tracking_events)
1110
{
1111
- if (!method_exists($this, 'getId') || (!empty($this->getId()) && strpos($this->getId(), "fakeId") === False)) {
1112
-
1113
- if (!is_null($tracking_events) && (count($tracking_events) > 0)) {
1114
- throw new \InvalidArgumentException('invalid value for $tracking_events when calling Letter., number of items must be less than or equal to 0.');
1115
- }
1116
1117
$this->container['tracking_events'] = [];
1118
if ($tracking_events) {
1119
foreach ($tracking_events as $point) {
0 commit comments