function pardot_submission_delete in Pardot Integration 7
Same name and namespace in other branches
- 6 pardot.module \pardot_submission_delete()
Deletes a form submission.
Not sure there is a use case for this but it's here for completeness.
Parameters
int $sid: Submission id.
File
- ./
pardot.module, line 421 - Pardot integration module.
Code
function pardot_submission_delete($sid) {
db_delete('pardot_submissions')
->condition('sid', $sid)
->execute();
}