You are here

function _textimage_preset_delete in Textimage 7.2

Same name and namespace in other branches
  1. 5.2 textimage_admin.inc \_textimage_preset_delete()
  2. 5 textimage.module \_textimage_preset_delete()
  3. 6.2 textimage_admin.inc \_textimage_preset_delete()

Todo.

1 call to _textimage_preset_delete()
textimage_preset_delete_confirm_submit in ./textimage.admin.inc
Todo.

File

./textimage.admin.inc, line 643
Textimage admin page callback

Code

function _textimage_preset_delete($id) {
  $result = db_delete('textimage_preset')
    ->condition('pid', $id)
    ->execute();
  _textimage_preset_flush($id, TRUE);
  return $result;
}