function TwittersOAuth::delete in jQuery social stream 7
Same name and namespace in other branches
- 7.2 jquery_social_stream.js.inc \TwittersOAuth::delete()
DELETE wrapper for oAuthReqeust.
File
- ./
jquery_social_stream.js.inc, line 246 - JS callbacks.
Class
- TwittersOAuth
- Twitter sOAuth class
Code
function delete($url, $parameters = array()) {
$response = $this
->oAuthRequest($url, 'DELETE', $parameters);
if ($this->format === 'json' && $this->decode_json) {
return json_decode($response);
}
return $response;
}