You are here

function follow_link_delete in Follow 5

Same name and namespace in other branches
  1. 6 follow.module \follow_link_delete()
  2. 7.2 follow.inc \follow_link_delete()
  3. 7 follow.module \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 625
Allows users to add links to their social network profiles.

Code

function follow_link_delete($lid) {
  db_query('DELETE FROM {follow_links} WHERE lid = %d', $lid);
}