Fixed bug in removeBan()

This commit is contained in:
Savetheinternet 2011-10-17 18:02:54 +11:00
parent 033baf06c2
commit b20ba4126a

View File

@ -279,11 +279,11 @@
$query->bindValue(':id', $id, PDO::PARAM_INT); $query->bindValue(':id', $id, PDO::PARAM_INT);
$query->execute() or error(db_error($query)); $query->execute() or error(db_error($query));
if($config['memcached']['enabled']) { //if($config['memcached']['enabled']) {
// Remove cached ban // Remove cached ban
// TODO // TODO
$memcached->delete("ban_{$id}"); // $memcached->delete("ban_{$id}");
} //}
} }
?> ?>