Overview
Comment:D├ęcommenter envoi de mail (faute de commit)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | dev
Files: files | file ages | folders
SHA1: e3fc01b49c5788fd3f8f2a81dbf49a969b184d55
User & Date: bohwaz on 2018-10-05 17:26:56
Other Links: branch diff | manifest | tags
Context
2018-10-08
13:01
Envoi de message collectif check-in: e77b5d23b2 user: bohwaz tags: dev
2018-10-05
17:26
D├ęcommenter envoi de mail (faute de commit) check-in: e3fc01b49c user: bohwaz tags: dev
17:17
Forcer le select de l'ID et de l'email pour l'envoi de message check-in: 6a673f4813 user: bohwaz tags: dev
Changes

Modified src/include/lib/Garradin/Membres.php from [4171e6afde] to [c01bb47300].

317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336

    public function sendMessage(array $recipients, $subject, $message, $send_copy)
    {
        $config = Config::getInstance();

        foreach ($recipients as $recipient)
        {
            //Utils::sendEmail(Utils::EMAIL_CONTEXT_BULK, $recipient->email, $subject, $message, $recipient->id);
        }

        if ($send_copy)
        {
            //Utils::sendEmail(Utils::EMAIL_CONTEXT_BULK, $config->get('email_asso'), $subject, $message);
        }

        return true;
    }

    public function listAllByCategory($id_categorie)
    {







|




|







317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336

    public function sendMessage(array $recipients, $subject, $message, $send_copy)
    {
        $config = Config::getInstance();

        foreach ($recipients as $recipient)
        {
            Utils::sendEmail(Utils::EMAIL_CONTEXT_BULK, $recipient->email, $subject, $message, $recipient->id);
        }

        if ($send_copy)
        {
            Utils::sendEmail(Utils::EMAIL_CONTEXT_BULK, $config->get('email_asso'), $subject, $message);
        }

        return true;
    }

    public function listAllByCategory($id_categorie)
    {