You are here

function date_format_delete in Date 6.2

Delete a date format from the database.

Parameters

$date_format_id: The date format string identifier.

1 call to date_format_delete()
date_api_delete_format_form_submit in ./date_api.admin.inc
Delete a configured date format.

File

./date_api.module, line 2065
This module will make the date API available to other modules. Designed to provide a light but flexible assortment of functions and constants, with more functionality in additional files that are not loaded unless other modules specifically include them.

Code

function date_format_delete($date_format_id) {
  db_query("DELETE FROM {date_formats} WHERE dfid = '%d'", $date_format_id);
}