function clock_delete in Clock 7.2
Deletes a clock.
Parameters
$cid: The clock ID.
1 call to clock_delete()
- clock_delete_form_submit in ./
clock.admin.inc - Form submission handler for clock_delete_form()
File
- ./
clock.module, line 437 - Display clocks on your site.
Code
function clock_delete($cid) {
db_delete('clock_settings')
->condition('cid', $cid)
->execute();
}