You are here

function fontyourface_delete_font in @font-your-face 6

Same name and namespace in other branches
  1. 6.2 fontyourface.module \fontyourface_delete_font()

Deletes a single font.

2 calls to fontyourface_delete_font()
fontsquirrel_fontyourface_enable in modules/fontsquirrel/fontsquirrel.module
Implements hook_fontyourface_enable().
fontyourface_admin_edit_form_submit in ./fontyourface.module
Edit form submit handler.

File

./fontyourface.module, line 576

Code

function fontyourface_delete_font($font) {
  db_query("DELETE FROM {fontyourface} WHERE fid = %d", $font->fid);
}