Handles canceled payment transactions.
[platal.git] / bin / cron / notifs.birthday.php
index 96516b8..8f7c2c7 100755 (executable)
@@ -1,7 +1,7 @@
 #!/usr/bin/php5 -q
 <?php
 /***************************************************************************
- *  Copyright (C) 2003-2009 Polytechnique.org                              *
+ *  Copyright (C) 2003-2014 Polytechnique.org                              *
  *  http://opensource.polytechnique.org/                                   *
  *                                                                         *
  *  This program is free software; you can redistribute it and/or modify   *
@@ -20,7 +20,7 @@
  *  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                *
  ***************************************************************************/
 
-require('./connect.db.inc.php');
+require './connect.db.inc.php';
 
 $it = 0;
 do {
@@ -30,8 +30,8 @@ do {
                            AND deathdate IS NULL');
     ++$it;
     $affected = XDB::affectedRows();
-    echo "Iteration $it => $affected changes\n";
+    //echo "Iteration $it => $affected changes\n";
 } while ($affected > 0);
 
-// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8:
+// vim:set et sw=4 sts=4 sws=4 foldmethod=marker fenc=utf-8:
 ?>