lock table clans

This commit is contained in:
lopar 2019-06-21 21:45:17 +03:00
parent 04d6646508
commit 881a30b8fa

View File

@ -12,7 +12,7 @@ if ($user['battle'] != 0) {
$level = filter_input(INPUT_REQUEST, 'level');
db::c()->query('LOCK TABLES `bots` WRITE, `battle` WRITE, `logs` WRITE, `users` WRITE, `inventory` WRITE, `zayavka` WRITE, `effects` WRITE, `online` WRITE');
db::c()->query('LOCK TABLES `bots` WRITE, `battle` WRITE, `logs` WRITE, `users` WRITE, `inventory` WRITE, `zayavka` WRITE, `effects` WRITE, `online` WRITE, `clans` WRITE');
if ((input::check('do') == "clear") AND $user['admin'] == 1) {
db::c()->query('UPDATE `zayavka` SET `coment` = "?s" WHERE `id` = ?i', '<em>Вырезано цензурой!</em>', $_GET['zid']);