function follow_link_delete in Follow 5
Same name and namespace in other branches
- 6 follow.module \follow_link_delete()
- 7.2 follow.inc \follow_link_delete()
- 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);
}