forked from science-ation/science-ation
Remove some debug
This commit is contained in:
parent
838f61a948
commit
01b05576b5
@ -45,10 +45,8 @@ if(!$config['emailqueue_lock']) {
|
|||||||
$mail->setFrom($email->from);
|
$mail->setFrom($email->from);
|
||||||
$mail->setSubject($email->subject);
|
$mail->setSubject($email->subject);
|
||||||
|
|
||||||
//FIXME: do the replacements
|
|
||||||
$blank=array();
|
$blank=array();
|
||||||
$replacements=(array)json_decode($r->replacements);
|
$replacements=(array)json_decode($r->replacements);
|
||||||
print_r($replacements);
|
|
||||||
|
|
||||||
if($email->body)
|
if($email->body)
|
||||||
$mail->setText(communication_replace_vars($email->body,$blank,$replacements));
|
$mail->setText(communication_replace_vars($email->body,$blank,$replacements));
|
||||||
|
Loading…
Reference in New Issue
Block a user