diff options
Diffstat (limited to 'modules/comment/helpers/comment_installer.php')
-rw-r--r-- | modules/comment/helpers/comment_installer.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/comment/helpers/comment_installer.php b/modules/comment/helpers/comment_installer.php index be8b2a14..f203d940 100644 --- a/modules/comment/helpers/comment_installer.php +++ b/modules/comment/helpers/comment_installer.php @@ -30,9 +30,15 @@ class comment_installer { `text` text, `created` int(9) NOT NULL, `item_id` int(9) NOT NULL, + `url` varchar(255) default NULL, + `visible` tinyint(1) default 1, PRIMARY KEY (`id`)) ENGINE=InnoDB DEFAULT CHARSET=utf8;"); + if (module::is_installed("spam_filter")) { + spam_filter_installer::add_fields(); + } + module::set_version("comment", 1); } } |