changed mailing feature

This commit is contained in:
Bachir Soussi Chiadmi 2016-07-19 20:17:47 +02:00
parent dd95b24f5b
commit 42347006ff

View File

@ -18,7 +18,7 @@ function mailing_default_elysia_cron_rules() {
$cron_rule->rule = '* * * * *';
$cron_rule->weight = -11;
$cron_rule->context = 'mailing';
$cron_rules[''] = $cron_rule;
$cron_rules['simplenews_cron'] = $cron_rule;
$cron_rule = new stdClass;
$cron_rule->disabled = FALSE; /* Edit this to true to make a default cron_rule disabled initially */
@ -28,7 +28,7 @@ function mailing_default_elysia_cron_rules() {
$cron_rule->rule = '* * * * *';
$cron_rule->weight = NULL;
$cron_rule->context = NULL;
$cron_rules[''] = $cron_rule;
$cron_rules['simplenews_scheduler_cron'] = $cron_rule;
return $cron_rules;