From: Stéphane Jacob Date: Sun, 28 Feb 2010 00:55:44 +0000 (+0100) Subject: Fixes calls to auth_user_* from marketPromo.php X-Git-Tag: xorg/1.0.0~332^2~153 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=42f5f0074df34f3000368066c4dd81495c0c4516;hp=411697fcc8425bd1d0df7f571128f48831aefda3;p=platal.git Fixes calls to auth_user_* from marketPromo.php Signed-off-by: Stéphane Jacob --- 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');