You are here

function follow_link_delete in Follow 7

Same name and namespace in other branches
  1. 5 follow.module \follow_link_delete()
  2. 6 follow.module \follow_link_delete()
  3. 7.2 follow.inc \follow_link_delete()

Deletes a link, given its unique ID.

Parameters

$lid: An int containing the ID of a link.

1 call to follow_link_delete()
follow_links_form_submit in ./follow.module
Submit handler for the follow_links_form.

File

./follow.module, line 763
Allows users to add links to their social network profiles.

Code

function follow_link_delete($lid) {
  db_delete('follow_links')
    ->condition('lid', $lid)
    ->execute();
}