Skip to content

Commit

Permalink
review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
greta-mik committed Jul 3, 2024
1 parent 2db3e57 commit 8ae2dcd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
3 changes: 0 additions & 3 deletions omnisend/includes/SDK/V1/class-client.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down
4 changes: 0 additions & 4 deletions omnisend/includes/SDK/V1/class-event.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,6 @@ public function to_array(): array {
return array();
}

$time_now = gmdate( 'c' );

$arr = array();

if ( $this->contact ) {
Expand All @@ -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 ) {
Expand Down

0 comments on commit 8ae2dcd

Please sign in to comment.