BUGFIX Deleted duplicate call to curl_exec() in RestfulService (merge error from r69704)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@81822 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2009-07-14 20:51:58 +00:00
parent 61ed3df367
commit c1f0dda466

View File

@ -119,8 +119,7 @@ class RestfulService extends ViewableData {
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
}
$responseBody = curl_exec($ch);
// Run request
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
$responseBody = curl_exec($ch);
$curlError = curl_error($ch);