Skip to content

Commit

Permalink
Update useragent to v1.4.2.12
Browse files Browse the repository at this point in the history
  • Loading branch information
goshon authored Nov 20, 2017
1 parent 1fdfd6f commit 4fdd2ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/mailjet-api-v1.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public function sendRequest($method = false, $params = array(), $request = 'GET'
curl_setopt($curl_handle, CURLOPT_USERPWD, $this->apiKey . ':' . $this->secretKey);
curl_setopt($curl_handle, CURLOPT_VERBOSE, true);
curl_setopt($curl_handle, CURLINFO_HEADER_OUT, true);
curl_setopt($curl_handle, CURLOPT_USERAGENT, 'wordpress-v1.4.2.11');
curl_setopt($curl_handle, CURLOPT_USERAGENT, 'wordpress-v1.4.2.12');

$this->_request_post = false;
if ($request == 'POST')
Expand Down Expand Up @@ -224,4 +224,4 @@ public function debug()
echo '</table>';
echo '</div>';
}
}
}

0 comments on commit 4fdd2ea

Please sign in to comment.