X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=bin%2Fcron%2Fcron_validations.php;h=6c67503296e0a72f4f1092b213c1ebe04ea21e11;hb=34465ab035104f739a54ec62660f04f874448627;hp=bdf7330c5f3583ca1501ced550130a0e51483344;hpb=354adb18b1370c3a0322f617774dbf0a3c017113;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()) {