X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=bin%2Fcron%2Fcron_validations.php;h=6c67503296e0a72f4f1092b213c1ebe04ea21e11;hb=c3b581dc531c40960509e3115d8c61ebd5897ee3;hp=bdf7330c5f3583ca1501ced550130a0e51483344;hpb=b032b01b8919b36ec66f8a0395132953d8c01cf2;p=platal.git diff --git a/bin/cron/cron_validations.php b/bin/cron/cron_validations.php index bdf7330..6c67503 100755 --- a/bin/cron/cron_validations.php +++ b/bin/cron/cron_validations.php @@ -1,7 +1,7 @@ #!/usr/bin/php5 -q fetchOneRow(); $age = (time() - intval($age)) / 86400; @@ -70,7 +70,7 @@ $message = ."https://www.polytechnique.org/admin/validate\n\n" ."Par catégorie :\n"; $res = XDB::iterRow("SELECT type, count(*) - FROM x4dat.requests + FROM requests GROUP BY type ORDER BY type"); while (list($type, $nb) = $res->next()) {