From 6cc5fa3a13f2adb47bdb72d01af8204988096d41 Mon Sep 17 00:00:00 2001 From: FramaJosephK Date: Thu, 13 Nov 2014 21:58:03 +0100 Subject: [PATCH] =?UTF-8?q?purge=20auto=20limit=C3=A9e=20=C3=A0=2020=20pou?= =?UTF-8?q?r=201=20cr=C3=A9=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/classes/Framadate/Utils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/classes/Framadate/Utils.php b/app/classes/Framadate/Utils.php index 9343cd6..1ec1a5f 100644 --- a/app/classes/Framadate/Utils.php +++ b/app/classes/Framadate/Utils.php @@ -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);