Skip to content

Commit

Permalink
remove deprecated Kdyby\CurlCaBundle
Browse files Browse the repository at this point in the history
  • Loading branch information
soukicz committed Mar 12, 2019
1 parent 8ee11af commit f341aea
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,8 @@ public function sendOrder(Order $order) {
} else {
curl_setopt($ch, CURLOPT_CAINFO, $caPathOrFile);
}
} elseif(class_exists('Kdyby\CurlCaBundle\CertificateHelper')) {
curl_setopt($ch, CURLOPT_CAINFO, \Kdyby\CurlCaBundle\CertificateHelper::getCaInfoFile());
}

$result = curl_exec($ch);

if($result === false) {
Expand Down

0 comments on commit f341aea

Please sign in to comment.