wibble
authorPierre Habouzit (MadCoder <pierre.habouzit@m4x.org>
Mon, 10 Jan 2005 08:51:43 +0000 (08:51 +0000)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Thu, 26 Jun 2008 21:27:20 +0000 (23:27 +0200)
git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-257

bin/cron/rapports_inscription.php

index 844dc0b..e15f063 100755 (executable)
@@ -23,16 +23,16 @@ if ($a = $res->total()) {
 // ---------------------------------------
 
 $res = $globals->xdb->iterRow(
-        "SELECT  ins_id,username,promo,email,date
-           FROM  en_cours
-          WHERE  loginbis != 'INSCRIT'
+        "SELECT  hash, 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,$prom,$mail,$quand) = $res->next()) {     
-       $MESSAGE.="$quand, X$prom, $usern\n$mail";
+    while (list($code, $usern, $mail, $quand) = $res->next()) {        
+       $MESSAGE.="$quand, X$prom, $forlife\n$mail";
        $MESSAGE.="\n";
-       $MESSAGE.="http://www.polytechnique.org/step4.php?ref=$code\n";
+       $MESSAGE.="https://www.polytechnique.org/register/end.php?hash=$code\n";
     }
 }