From 42f5f0074df34f3000368066c4dd81495c0c4516 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Sun, 28 Feb 2010 01:55:44 +0100 Subject: [PATCH] Fixes calls to auth_user_* from marketPromo.php MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Jacob --- bin/marketPromo.php | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/bin/marketPromo.php b/bin/marketPromo.php index 036449e..c385c1d 100755 --- a/bin/marketPromo.php +++ b/bin/marketPromo.php @@ -2,8 +2,8 @@ fetchOneCell(); if (!$uid) { - echo "WARNING Can't find uid for matricule $matri (login $login)\n"; + echo "WARNING Can't find uid for matricule $xorgid (login $login)\n"; continue; } $market = Marketing::get($uid, "$login@poly.polytechnique.fr"); if (!is_null($market)) { - echo "WARNING A marketing has already been to $matri on $login\n"; + echo "WARNING A marketing has already been to $xorgid on $login\n"; continue; } $market = new Marketing($uid, "$login@poly.polytechnique.fr", 'default', null, 'staff'); -- 2.1.4