function cc::delete_contact in Constant Contact 6.3
Same name and namespace in other branches
- 6.2 class.cc.php \cc::delete_contact()
- 7.3 class.cc.php \cc::delete_contact()
* Deletes a contact * * @access public
File
- ./
class.cc.php, line 950
Class
- cc
- @file
Code
function delete_contact($id) {
$this
->http_set_content_type('text/html');
$this
->load_url("contacts/{$id}", 'delete', array(), 204);
if (intval($this->http_response_code) === 204) {
return true;
}
return false;
}