You are here

function word_link_del_link in Word Link 8

Same name and namespace in other branches
  1. 7 word_link.module \word_link_del_link()

Delete link from DB.

2 calls to word_link_del_link()
word_link_del_form_submit in ./word_link.admin.inc
Submit form for delete confirm page.
word_link_list_page_form_delete_confirm_submit in ./word_link.admin.inc
Submit for delete operation.

File

./word_link.module, line 372
This module allows users to replace previously defined words to the links.

Code

function word_link_del_link($id) {
  db_delete('word_link')
    ->condition('id', $id)
    ->execute();
}