function _linkchecker_delete_comment_links in Link checker 7
Same name and namespace in other branches
- 5.2 linkchecker.module \_linkchecker_delete_comment_links()
- 6.2 linkchecker.module \_linkchecker_delete_comment_links()
Remove all comment references to links in the linkchecker_comment table.
Parameters
int $cid: The comment ID.
1 call to _linkchecker_delete_comment_links()
- linkchecker_comment_delete in ./
linkchecker.module - Implements hook_comment_delete().
File
- ./
linkchecker.module, line 1533 - This module periodically check links in given node types, blocks etc.
Code
function _linkchecker_delete_comment_links($cid) {
db_delete('linkchecker_comment')
->condition('cid', $cid)
->execute();
}