function system_date_format_delete in Drupal 7
Deletes a date format from the database.
Parameters
$dfid: The date format ID.
1 call to system_date_format_delete()
- system_date_delete_format_form_submit in modules/
system/ system.admin.inc - Delete a configured date format.
File
- modules/
system/ system.module, line 3990 - Configuration system that lets administrators modify the workings of the site.
Code
function system_date_format_delete($dfid) {
db_delete('date_formats')
->condition('dfid', $dfid)
->execute();
}