You are here

function drush_linkchecker_check in Link checker 7

Callback for command linkchecker-check.

File

./linkchecker.drush.inc, line 87
Drush interface to linkchecker functionalities.

Code

function drush_linkchecker_check() {
  drush_log('Starting link checking...', 'info');
  $run = _linkchecker_check_links();
  if (!$run) {
    drush_log('Attempted to re-run link checks while they are already running.', 'warning');
  }
  else {
    drush_log('Finished checking links.', 'completed');
  }
}