You are here

function _linkchecker_delete_block_custom_links in Link checker 7

Remove all block references to links in the linkchecker_block_custom table.

Parameters

int $bid: The block ID.

1 call to _linkchecker_delete_block_custom_links()
linkchecker_block_custom_delete_form_submit in ./linkchecker.module
Custom submit handler for block delete page.

File

./linkchecker.module, line 1546
This module periodically check links in given node types, blocks etc.

Code

function _linkchecker_delete_block_custom_links($bid) {
  db_delete('linkchecker_block_custom')
    ->condition('bid', $bid)
    ->execute();
}