This commit is contained in:
Gnieark 2015-12-30 16:11:35 +01:00
parent 0aa5c6f499
commit f51591debf

View File

@ -1,8 +1,8 @@
<?php <?php
//Del unvalidated bots //Del unvalidated bots
mysqli_query($lnMysql "DELETE FROM bots WHERE active='0' AND TIMESTAMPDIFF(DAY, NOW(), date_inscription) > 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"); mysqli_query($lnMysql, "DELETE FROM bot_modifs WHERE TIMESTAMPDIFF(DAY, NOW(), date_modification) > 2");
switch($_POST['act']){ switch($_POST['act']){
case "addBot": case "addBot":