You are here

function elysia_cron_message in Elysia Cron 7.2

Same name and namespace in other branches
  1. 6.2 elysia_cron.module \elysia_cron_message()

Sends a standard message to user.

Drush see it.

6 calls to elysia_cron_message()
elysia_cron_cron in ./elysia_cron.module
Implements hook_cron().
elysia_cron_help in ./elysia_cron.module
Implements hook_cron().
elysia_cron_reset_statistics_form_submit in ./elysia_cron.admin.inc
Submit handler for 'elysia_cron_reset_statistics_form' form.
elysia_cron_run_form_submit in ./elysia_cron.admin.inc
Submit handler for 'elysia_cron_run_form' form.
elysia_cron_run_job in ./elysia_cron.module
Public function to execute a single job.

... See full list

File

./elysia_cron.module, line 896

Code

function elysia_cron_message($message, $vars = array()) {
  global $_elysia_cron_drush;
  if (empty($_elysia_cron_drush)) {
    drupal_set_message(t($message, $vars));
  }
  else {
    drush_log(strip_tags(dt($message, $vars)), 'ok');
  }
}