ipban: delete the cache after changing the data

This commit is contained in:
Shish 2010-02-11 11:12:27 +00:00
parent e4a91ec215
commit 1efb08b0fc

View File

@ -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");
}
}
// }}}