You are here

function simplenews_cron_action in Simplenews 6

Same name and namespace in other branches
  1. 6.2 simplenews_action/simplenews_action.module \simplenews_cron_action()

Implementation of a Drupal action. Send pending simplenews newsletters.

File

simplenews_action/simplenews_action.module, line 168
simplenews_action.inc Provide actions for simplenews.

Code

function simplenews_cron_action(&$object, $context = array()) {
  simplenews_cron();
  watchdog('action', 'Simplenews cron executed.');
}