function follow_link_delete in Follow 7.2
Same name and namespace in other branches
- 5 follow.module \follow_link_delete()
- 6 follow.module \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.inc, line 291 - Follow module API and helper functions.
Code
function follow_link_delete($lid) {
db_delete('follow_links')
->condition('lid', $lid)
->execute();
}