You are here

function lc_ignore_response in Link checker 5

1 call to lc_ignore_response()
lc_DoLinkChecks in ./linkchecker.module

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;
}