function elysia_cron_drush_die in Elysia Cron 6.2
Same name and namespace in other branches
- 7.2 elysia_cron.drush.inc \elysia_cron_drush_die()
1 call to elysia_cron_drush_die()
File
- ./
elysia_cron.drush.inc, line 11
Code
function elysia_cron_drush_die() {
if (function_exists('drush_bootstrap_finish')) {
// Only in Drush5
drush_bootstrap_finish();
drush_die();
}
else {
// Drush4
drush_set_context("DRUSH_EXECUTION_COMPLETED", TRUE);
exit;
}
}