system_date_format_delete

function system_date_format_delete

system_date_format_delete($dfid)

Deletes a date format from the database.

Parameters

$dfid: The date format ID.

File

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!system!system.module/function/system_date_format_delete/7.x

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部