ipban: delete the cache after changing the data

This commit is contained in:
Shish 2010-02-11 11:12:27 +00:00
parent f7f411e1f6
commit 5d0c9d3fa3

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