You are here

function _disqus_migrate_report_message in Disqus 6

Helper function to log a message to watchdog and drupal messages

1 call to _disqus_migrate_report_message()
_disqus_migrate_import in include/disqus_migrate.import.inc
The main function that handles importing comments from Disqus into Drupal

File

include/disqus_migrate.import.inc, line 333

Code

function _disqus_migrate_report_message($message, $vars, $drupal_status, $watchdog_status) {
  drupal_set_message(t($message, $vars), $drupal_status);
  watchdog('disqus_migrate', $message, $vars, $watchdog_status);
}