Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #85 from pborreli/patch-1

Removed useless parse_url call
  • Loading branch information...
commit 640117242417eb0a68c547b2a71f6ac3ae8ba45f 2 parents 1ff2d3d + cc2e994
@dcramer dcramer authored
Showing with 0 additions and 1 deletion.
  1. +0 −1  lib/Raven/Client.php
View
1  lib/Raven/Client.php
@@ -458,7 +458,6 @@ private function send_http($url, $data, $headers=array())
foreach ($headers as $key => $value) {
array_push($new_headers, $key .': '. $value);
}
- $parts = parse_url($url);
$curl = curl_init($url);
curl_setopt($curl, CURLOPT_POST, 1);
curl_setopt($curl, CURLOPT_HTTPHEADER, $new_headers);
Please sign in to comment.
Something went wrong with that request. Please try again.