From 1efb08b0fc7ba693fb903b3035d1b88e1b40b1da Mon Sep 17 00:00:00 2001 From: Shish Date: Thu, 11 Feb 2010 11:12:27 +0000 Subject: [PATCH] ipban: delete the cache after changing the data --- contrib/ipban/main.php | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/ipban/main.php b/contrib/ipban/main.php index 561d225d..1da85406 100644 --- a/contrib/ipban/main.php +++ b/contrib/ipban/main.php @@ -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"); } } // }}}