X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=bin%2Fcron%2Fhomonyms.php;h=3d27903b45bdf622436f32d46849c0889dc6e8e7;hb=ca5367b747459b0984054e2f859ffdf69bbe803c;hp=f70ee3054ae997450bd88fdb2b08d926dbf2cb9e;hpb=f88d915428d9375442839f4528313f4ffe2b778e;p=platal.git diff --git a/bin/cron/homonyms.php b/bin/cron/homonyms.php index f70ee30..3d27903 100755 --- a/bin/cron/homonyms.php +++ b/bin/cron/homonyms.php @@ -1,7 +1,7 @@ #!/usr/bin/php5 -q next()) { $res = XDB::query('SELECT a.hruid FROM homonyms_list AS h INNER JOIN accounts AS a ON (h.uid = a.uid) WHERE h.hrmid = {?}', - User::makeHomonymHrmid($old['email']); + User::makeHomonymHrmid($old['email'])); $hruids = $res->fetchColumn(); $homonym = User::getSilent($old['uid']);