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

File

modules/system/system.module, line 4002

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.