Skip to content

Commit

Permalink
Merge pull request #9 from mailjet/thech/version_change_in_useragent_…
Browse files Browse the repository at this point in the history
…and_ext_conf

Updating the release version of the project
  • Loading branch information
JasenAngelov authored Apr 10, 2019
2 parents e36ea26 + 9626924 commit 263372c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Resources/Private/Contrib/Mailjet/Mailjet.php
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ public function data($method, $id, $type = 'HTML', $contType = 'text:html', $par
curl_setopt($this->_curl_handle, CURLOPT_HTTPHEADER, ["Content-Type: " . $contType]);
curl_setopt($this->_curl_handle, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt($this->_curl_handle, CURLOPT_SSL_VERIFYHOST, 2);
curl_setopt($this->_curl_handle, CURLOPT_USERAGENT, 'typo3-v1');
curl_setopt($this->_curl_handle, CURLOPT_USERAGENT, 'typo-3-1.0.2');

curl_setopt($this->_curl_handle, CURLOPT_USERPWD, $this->_apiKey . ':' . $this->_secretKey);

Expand Down Expand Up @@ -710,7 +710,7 @@ private function sendRequest($method = FALSE, $params = [], $request = "GET", $u
curl_setopt($this->_curl_handle, CURLOPT_TIMEOUT, 10); //timeout in seconds
curl_setopt($this->_curl_handle, CURLOPT_USERPWD, $this->_apiKey . ':' . $this->_secretKey);

curl_setopt($this->_curl_handle, CURLOPT_USERAGENT, 'typo-3.0');
curl_setopt($this->_curl_handle, CURLOPT_USERAGENT, 'typo-3-1.0.2');


switch ($request) {
Expand Down
2 changes: 1 addition & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
'uploadfolder' => '1',
'createDirs' => '',
'clearCacheOnLoad' => 0,
'version' => '1.0.1',
'version' => '1.0.2',
'constraints' => [
'depends' => [
'typo3' => '7.6.0-8.9.99',
Expand Down

0 comments on commit 263372c

Please sign in to comment.