You are here

function beautytips_manager_delete_custom_style in BeautyTips 7.2

Same name and namespace in other branches
  1. 8 beautytips_manager/beautytips_manager.module \beautytips_manager_delete_custom_style()

Delete a singular custom beautytip.

1 call to beautytips_manager_delete_custom_style()
beautytips_manager_delete_style_confirm_form_submit in ./beautytips_manager.admin.inc
Submit callback for beautytips delete confirm form.

File

./beautytips_manager.module, line 265
Code related to defining and displaying custom beautytips and styles.

Code

function beautytips_manager_delete_custom_style($id) {
  db_delete('beautytips_custom_styles')
    ->condition('id', $id)
    ->execute();
}