fixed bug in cached bans
This commit is contained in:
parent
c4c6a98396
commit
9f88a742ef
@ -276,7 +276,7 @@
|
|||||||
|
|
||||||
|
|
||||||
function removeBan($id) {
|
function removeBan($id) {
|
||||||
global $config;
|
global $config, $memcached;
|
||||||
|
|
||||||
$query = prepare("DELETE FROM `bans` WHERE `id` = :id");
|
$query = prepare("DELETE FROM `bans` WHERE `id` = :id");
|
||||||
$query->bindValue(':id', $id, PDO::PARAM_INT);
|
$query->bindValue(':id', $id, PDO::PARAM_INT);
|
||||||
|
Loading…
Reference in New Issue
Block a user