From bec46a910e9f95c45fbec8bcef19d46493b86e08 Mon Sep 17 00:00:00 2001 From: shish Date: Mon, 31 Mar 2008 02:56:28 +0000 Subject: [PATCH] ban to a date, not a datetime git-svn-id: file:///home/shish/svn/shimmie2/trunk@739 7f39781d-f577-437e-ae19-be835c7a54ca --- ext/ipban/main.php | 2 +- ext/ipban/schema.xml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ext/ipban/main.php b/ext/ipban/main.php index 565354cf..2943fbf1 100644 --- a/ext/ipban/main.php +++ b/ext/ipban/main.php @@ -31,7 +31,7 @@ class IPBan extends Extension { if(is_a($event, 'InitExtEvent')) { global $config; - if($config->get_int("ext_ipban_version") < 2) { + if($config->get_int("ext_ipban_version") < 4) { $this->install(); } diff --git a/ext/ipban/schema.xml b/ext/ipban/schema.xml index 7b68487a..9439b692 100644 --- a/ext/ipban/schema.xml +++ b/ext/ipban/schema.xml @@ -5,8 +5,8 @@ - - + + ip DEFAULT CHARSET='utf8' @@ -14,6 +14,6 @@ DELETE FROM config WHERE name='ext_ipban_version' - INSERT INTO config(name, value) VALUES('ext_ipban_version', 3) + INSERT INTO config(name, value) VALUES('ext_ipban_version', 4)