function google_adwords_path_delete_code_by_cid in Google AdWords Conversion Tracking 7.2
Function to delete a conversion code by id.
1 call to google_adwords_path_delete_code_by_cid()
- google_adwords_path_code_delete_form_submit in modules/
google_adwords_path/ google_adwords_path.admin.inc - Implements hook_form_submit().
File
- modules/
google_adwords_path/ google_adwords_path.module, line 144 - Module file for the Google Adwords Path Submodule.
Code
function google_adwords_path_delete_code_by_cid($cid) {
$result = db_delete('google_adwords_path')
->condition('cid', $cid)
->execute();
if ($result) {
return TRUE;
}
else {
return FALSE;
}
}