ipban: delete the cache after changing the data
This commit is contained in:
parent
f7f411e1f6
commit
5d0c9d3fa3
@ -90,6 +90,7 @@ class IPBan implements Extension {
|
||||
|
||||
if($event instanceof RemoveIPBanEvent) {
|
||||
$database->Execute("DELETE FROM bans WHERE id = ?", array($event->id));
|
||||
$database->cache->delete("ip_bans");
|
||||
}
|
||||
}
|
||||
// }}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user