You are here

function beautytips_manager_delete_custom_tip in BeautyTips 7.2

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

Delete a singular custom beautytip.

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

File

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

Code

function beautytips_manager_delete_custom_tip($id) {
  db_delete('beautytips_custom_tips')
    ->condition('id', $id)
    ->execute();
}