summaryrefslogtreecommitdiff
path: root/modules/comment/helpers/comment_installer.php
diff options
context:
space:
mode:
authorNathan Kinkade <nath@nkinka.de>2012-04-16 21:42:16 +0000
committerNathan Kinkade <nath@nkinka.de>2012-04-16 21:42:16 +0000
commita13fd7f373f3718037a2ce90a3cb408f24856602 (patch)
treec3db8fc6addfe5d3c6718d33e8fec024ef960318 /modules/comment/helpers/comment_installer.php
parentb95f4776fd6999242435d547c29944861e1c2c41 (diff)
parenta6a07c8580aa09063e39c407922a2cc197b4f05c (diff)
Merge branch 'master' of git://github.com/gallery/gallery3
Diffstat (limited to 'modules/comment/helpers/comment_installer.php')
-rw-r--r--modules/comment/helpers/comment_installer.php8
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..a64064f6 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_visible", "all");
+ module::set_version("comment", $version = 5);
+ }
}
static function uninstall() {