fix that annoying bug wrt end.php?hash beeing sent by mail
authorx2000habouzit <x2000habouzit@839d8a87-29fc-0310-9880-83ba4fa771e5>
Tue, 16 Aug 2005 17:32:29 +0000 (17:32 +0000)
committerx2000habouzit <x2000habouzit@839d8a87-29fc-0310-9880-83ba4fa771e5>
Tue, 16 Aug 2005 17:32:29 +0000 (17:32 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@15 839d8a87-29fc-0310-9880-83ba4fa771e5

bin/cron/rapports_inscription.php

index c60780c..f567ed5 100755 (executable)
@@ -23,16 +23,14 @@ if ($a = $res->total()) {
 // ---------------------------------------
 
 $res = $globals->xdb->iterRow(
-        "SELECT  hash, forlife, email, date
+        "SELECT  forlife, email, date
            FROM  register_pending
           WHERE  hash != 'INSCRIT'
        ORDER BY  date");
 if ($b = $res->total()) {
     $MESSAGE.="\n$b INSCRIPTIONS NON CONFIRMEES:\n";
-    while (list($code, $usern, $mail, $quand) = $res->next()) {        
-       $MESSAGE.="$quand, $usern,\n            $mail";
-       $MESSAGE.="\n";
-       $MESSAGE.="https://www.polytechnique.org/register/end.php?hash=$code\n";
+    while (list($usern, $mail, $quand) = $res->next()) {       
+       $MESSAGE.="$quand, $usern,\n            $mail\n";
     }
 }