Рефакторинг

This commit is contained in:
2023-04-15 22:18:30 +03:00
parent bdda3d24a0
commit 6afdb1a1be
19 changed files with 3321 additions and 3683 deletions
-1
View File
@@ -20,7 +20,6 @@ function getIds($query): string
Db::sql('update users set clan_zv = 0 where clan_zv > 0');
// Очистка чата, остается 30 минут.
Db::sql('delete from chat where time < unix_timestamp() - 1800');
Db::sql('delete from chat_system where time < unix_timestamp() - 1800');
// Очистка заявок в поединки
Db::sql('delete from zayvki where start > 0 or cancel > 0 or time < unix_timestamp() - 43200');
// Очистка заявок в пещеры