improve cleanup

This commit is contained in:
xiaomlove
2022-10-23 18:44:51 +08:00
parent 8016f2b6de
commit c98e5153d5

View File

@@ -810,7 +810,7 @@ function docleanup($forceAll = 0, $printProgress = false) {
}
//17.update total seeding and leeching time of users
$res = sql_query("SELECT * FROM users") or sqlerr(__FILE__, __LINE__);
$res = sql_query("SELECT id FROM users where enabled = 'yes' and status = 'confirmed'") or sqlerr(__FILE__, __LINE__);
while($arr = mysql_fetch_assoc($res))
{
//die("s" . $arr['id']);