Unused local variable 'json_data'.

The value of the variable is not used anywhere.
This commit is contained in:
Sergey Gonimar 2014-06-10 19:25:00 +06:00
parent 2ea6c2a3a7
commit e03d4fc1a5

View File

@ -85,7 +85,6 @@ class APIClient {
curl_setopt($curl, CURLOPT_POST, true);
curl_setopt($curl, CURLOPT_POSTFIELDS, $postData);
} else if ($method == self::$PUT) {
$json_data = json_encode($postData);
curl_setopt($curl, CURLOPT_CUSTOMREQUEST, "PUT");
curl_setopt($curl, CURLOPT_POSTFIELDS, $postData);
} else if ($method == self::$DELETE) {