function lc_ignore_response in Link checker 5
1 call to lc_ignore_response()
File
- ./
linkchecker.module, line 597 - This module periodically check html links referenced by drupal nodes Developed and maintained by Marek Tichy, marek@ecn.cz
Code
function lc_ignore_response($response, $code) {
$ignored = split("\n", variable_get('linkchecker_ignore_responses', ""));
var_dump($ignored);
foreach ($ignored as $i) {
if ($code == trim($i)) {
return true;
}
if ($response == trim($i)) {
return true;
}
}
return false;
}