You are here

function TwitterOAuth::delete in Tweet Feed 6

Same name and namespace in other branches
  1. 7.3 inc/twitter-oauth.inc \TwitterOAuth::delete()
  2. 7 inc/twitter-oauth.inc \TwitterOAuth::delete()
  3. 7.2 inc/twitter-oauth.inc \TwitterOAuth::delete()

DELETE wrapper for oAuthReqeust.

File

inc/twitter-oauth.inc, line 163

Class

TwitterOAuth
Twitter OAuth 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;
}