diff --git a/omnisend/includes/SDK/V1/class-client.php b/omnisend/includes/SDK/V1/class-client.php index 7488edb..a3c3e6a 100644 --- a/omnisend/includes/SDK/V1/class-client.php +++ b/omnisend/includes/SDK/V1/class-client.php @@ -15,9 +15,6 @@ */ interface Client { - - - /** * Create a contact in Omnisend. For it to succeed ensure that provided contact at least have email or phone number. * diff --git a/omnisend/includes/SDK/V1/class-event.php b/omnisend/includes/SDK/V1/class-event.php index 9ef8e6a..987e8a9 100644 --- a/omnisend/includes/SDK/V1/class-event.php +++ b/omnisend/includes/SDK/V1/class-event.php @@ -150,8 +150,6 @@ public function to_array(): array { return array(); } - $time_now = gmdate( 'c' ); - $arr = array(); if ( $this->contact ) { @@ -164,8 +162,6 @@ public function to_array(): array { if ( $this->event_time ) { $arr['eventTime'] = $this->event_time; - } else { - $arr['eventTime'] = $this->$time_now; } if ( $this->origin ) {