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

Archivo

drupal-7.x/modules/system/system.module, line 3924
Configuration system that lets administrators modify the workings of the site.

Código

function system_date_format_delete($dfid) {
  db_delete('date_formats')->condition('dfid', $dfid)->execute();
}