Switches email related classes to the new User model.
[platal.git] / bin / cron / notifs.send.php
index 9ffed23..ac67dc7 100755 (executable)
@@ -1,7 +1,7 @@
 #!/usr/bin/php5 -q
 <?php
 /***************************************************************************
- *  Copyright (C) 2003-2007 Polytechnique.org                              *
+ *  Copyright (C) 2003-2008 Polytechnique.org                              *
  *  http://opensource.polytechnique.org/                                   *
  *                                                                         *
  *  This program is free software; you can redistribute it and/or modify   *
@@ -26,9 +26,9 @@ require_once("../../include/notifs.inc.php");
 
 $all = new AllNotifs();
 
-$mailer = new PlMailer('carnet/mail.notif.tpl');
+$mailer = new PlMailer('carnet/notif.mail.tpl');
 foreach ($all->_data as $u) {
-    $mailer = new PlMailer('carnet/mail.notif.tpl');
+    $mailer = new PlMailer('carnet/notif.mail.tpl');
     $mailer->assign('u', $u);
     $mailer->assign('week', date("W - Y"));
     $mailer->assign('cats', $all->_cats);