From f51591debfe004be586b1becde3a23232145365d Mon Sep 17 00:00:00 2001 From: Gnieark Date: Wed, 30 Dec 2015 16:11:35 +0100 Subject: [PATCH] coma --- src/act.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/act.php b/src/act.php index f783aa8..f404db9 100644 --- a/src/act.php +++ b/src/act.php @@ -1,8 +1,8 @@ 2"); -mysqli_query($lnMysql "DELETE FROM bot_modifs WHERE TIMESTAMPDIFF(DAY, NOW(), date_modification) > 2"); +mysqli_query($lnMysql, "DELETE FROM bots WHERE active='0' AND TIMESTAMPDIFF(DAY, NOW(), date_inscription) > 2"); +mysqli_query($lnMysql, "DELETE FROM bot_modifs WHERE TIMESTAMPDIFF(DAY, NOW(), date_modification) > 2"); switch($_POST['act']){ case "addBot":