function ocupload_template_delete in One Click Upload 7
Same name and namespace in other branches
- 7.2 ocupload.inc \ocupload_template_delete()
Delete template
1 call to ocupload_template_delete()
- ocupload_delete_confirm_submit in ./
ocupload.inc - Confirm form submit
File
- ./
ocupload.inc, line 459 - Service functions
Code
function ocupload_template_delete($tid) {
db_delete('ocupload_templates')
->condition('tid', $tid)
->execute();
}