lock table clans
This commit is contained in:
parent
04d6646508
commit
881a30b8fa
@ -12,7 +12,7 @@ if ($user['battle'] != 0) {
|
|||||||
|
|
||||||
$level = filter_input(INPUT_REQUEST, 'level');
|
$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) {
|
if ((input::check('do') == "clear") AND $user['admin'] == 1) {
|
||||||
db::c()->query('UPDATE `zayavka` SET `coment` = "?s" WHERE `id` = ?i', '<em>Вырезано цензурой!</em>', $_GET['zid']);
|
db::c()->query('UPDATE `zayavka` SET `coment` = "?s" WHERE `id` = ?i', '<em>Вырезано цензурой!</em>', $_GET['zid']);
|
||||||
|
Loading…
Reference in New Issue
Block a user