You are here

function cc::delete_list in Constant Contact 6.2

Same name and namespace in other branches
  1. 6.3 class.cc.php \cc::delete_list()
  2. 7.3 class.cc.php \cc::delete_list()

* Deletes a contact list * * * @access public

File

./class.cc.php, line 379

Class

cc
@file

Code

function delete_list($listid) {
  $this
    ->http_set_content_type('text/html');
  $this
    ->load_url("lists/{$listid}", 'delete', array(), 204);
  if (intval($this->http_response_code) === 204) {
    return true;
  }
  return false;
}