function system_date_format_delete
7.x system.module | system_date_format_delete($dfid) |
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 drupal-7.x/
modules/ system/ system.admin.inc - Delete a configured date format.
File
- drupal-7.x/
modules/ system/ system.module, line 3926 - 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();
}