Skip to content
This repository

Removed useless parse_url call #85

Merged
merged 1 commit into from about 1 year ago

2 participants

Pascal Borreli David Cramer
Pascal Borreli

No description provided.

David Cramer dcramer merged commit 6401172 into from
David Cramer dcramer closed this
Pascal Borreli pborreli deleted the branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Mar 25, 2013
Pascal Borreli Removed useless parse_url call cc2e994
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 0 additions and 1 deletion. Show diff stats Hide diff stats

  1. 1  lib/Raven/Client.php
1  lib/Raven/Client.php
@@ -458,7 +458,6 @@ private function send_http($url, $data, $headers=array())
458 458
         foreach ($headers as $key => $value) {
459 459
             array_push($new_headers, $key .': '. $value);
460 460
         }
461  
-        $parts = parse_url($url);
462 461
         $curl = curl_init($url);
463 462
         curl_setopt($curl, CURLOPT_POST, 1);
464 463
         curl_setopt($curl, CURLOPT_HTTPHEADER, $new_headers);
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.