mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-01-31 12:23:48 +01:00
fixed bug in cached bans
This commit is contained in:
parent
ad6ccbecf4
commit
6d841f093e
@ -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…
x
Reference in New Issue
Block a user