purge auto limitée à 20 pour 1 créé

This commit is contained in:
FramaJosephK 2014-11-13 21:58:03 +01:00
parent e0ff6ec0e7
commit 6cc5fa3a13

View File

@ -252,7 +252,7 @@ class Utils
public static function cleaning_polls($connect, $log_txt) {
$connect->StartTrans();
$req = 'SELECT * FROM sondage WHERE date_fin < NOW() LIMIT 50';
$req = 'SELECT * FROM sondage WHERE date_fin < NOW() LIMIT 20';
$sql = $connect->Prepare($req);
$cleaning = $connect->Execute($sql);