Browse Source

[Backend] Cron : suppression log récap commandes producteur

refactoring
Guillaume Bourgeois 2 years ago
parent
commit
c375c09b5f
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      backend/controllers/CronController.php

+ 2
- 2
backend/controllers/CronController.php View File

$countOrders . ' commande(s) payée(s)<br .>' . $countOrders . ' commande(s) payée(s)<br .>' .
($mailOrdersSend ? 'Récapitulatif de commandes envoyé' : 'Aucun récapitulatif envoyé'); ($mailOrdersSend ? 'Récapitulatif de commandes envoyé' : 'Aucun récapitulatif envoyé');


Yii::$app->mailer->compose()
/*Yii::$app->mailer->compose()
->setFrom('contact@opendistrib.net') ->setFrom('contact@opendistrib.net')
->setTo('contact@opendistrib.net') ->setTo('contact@opendistrib.net')
->setSubject('[Opendistrib] Log '.$producer->name) ->setSubject('[Opendistrib] Log '.$producer->name)
->setTextBody($messageLog) ->setTextBody($messageLog)
->send();
->send();*/
} }
} }
} }

Loading…
Cancel
Save