From: Pierre Habouzit (MadCoder Date: Mon, 10 Jan 2005 08:51:43 +0000 (+0000) Subject: wibble X-Git-Tag: xorg/old~494 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=87e120eac13bd88241b0eb4865416a98d03c9a18;p=platal.git wibble git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-257 --- diff --git a/bin/cron/rapports_inscription.php b/bin/cron/rapports_inscription.php index 844dc0b..e15f063 100755 --- a/bin/cron/rapports_inscription.php +++ b/bin/cron/rapports_inscription.php @@ -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"; } }