diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2012-03-29 06:37:00 -0700 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2012-03-29 06:37:00 -0700 |
| commit | 60286bfba3939974088dcdc8935525f571eaa0eb (patch) | |
| tree | 2e73652b394c96476999fe041643c161ea21feac /modules/comment/helpers/comment_installer.php | |
| parent | c567d4fb2beedcd250fe7c3121e8da3ab8dbb164 (diff) | |
| parent | fc942aacda07346fa9af04853659eaeac1e766d3 (diff) | |
Merge commit 'fc942aa'
Diffstat (limited to 'modules/comment/helpers/comment_installer.php')
| -rw-r--r-- | modules/comment/helpers/comment_installer.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/modules/comment/helpers/comment_installer.php b/modules/comment/helpers/comment_installer.php index fee1fd18..e8d5e82c 100644 --- a/modules/comment/helpers/comment_installer.php +++ b/modules/comment/helpers/comment_installer.php @@ -48,7 +48,8 @@ class comment_installer { module::set_var("comment", "spam_caught", 0); module::set_var("comment", "access_permissions", "everybody"); - module::set_version("comment", 4); + module::set_var("comment", "rss_available", "both"); + module::set_version("comment", 5); } static function upgrade($version) { @@ -75,6 +76,11 @@ class comment_installer { "ALTER TABLE {comments} CHANGE `server_remote_host` `server_remote_host` varchar(255)"); module::set_version("comment", $version = 4); } + + if ($version == 4) { + module::set_var("comment", "rss_available", "both"); + module::set_version("comment", $version = 5); + } } static function uninstall() { |
