From: Raphaël Barrois Date: Sat, 29 Jan 2011 22:04:42 +0000 (+0100) Subject: Fix the newsletter.send.php script X-Git-Tag: xorg/1.0.2~1 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=147ad5e1d0b7ef550266721138139b7d1004368e;p=platal.git Fix the newsletter.send.php script Signed-off-by: Raphaël Barrois --- diff --git a/bin/newsletter.send.php b/bin/newsletter.send.php index bf97705..e2c7b90 100755 --- a/bin/newsletter.send.php +++ b/bin/newsletter.send.php @@ -36,8 +36,9 @@ EOF; } $id = intval($opt['i']); -$nl = new NewsLetter($id); -$nl->sendToAll(); +$nl = NewsLetter::forGroup(NewsLetter::GROUP_XORG); +$issue = $nl->getIssue($id); +$issue->sendToAll(); // vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8: ?>