Commit 0f961e25 authored by dpi's avatar dpi

Template validation fails when dispatching with cron

Fixed #38
parent 964122d6
......@@ -153,11 +153,7 @@ class CourierManager implements CourierManagerInterface {
->setTokenValue('identity', $identity)
$violations = $message->validate();
if ($violations->count()) {
$this->logger->debug('Template @template for collection @template_collection did not validate.', $t_args);
$this->logger->debug('Template @template (%channel) added to a message queue item.', $t_args);
if ($message->save()) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment