function system_date_format_delete

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/modules/system/system.admin.inc
Delete a configured date format.

File

drupal/modules/system/system.module, line 3982
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();
}