Oops, fix up a bug originally added in

7d66ab2e94 when I tweaked the name of
the rss_available variable to be rss_visible, but got it wrong.  Bump
the comment module to 6 so that we run the installer and clean up old
vars.

Fixes #1854.
This commit is contained in:
Bharat Mediratta
2012-05-07 13:45:13 -07:00
parent 6effd5f75e
commit 5400c4be26
4 changed files with 17 additions and 7 deletions

View File

@@ -32,8 +32,8 @@ class Admin_Comments_Controller extends Admin_Controller {
$form->validate();
module::set_var("comment", "access_permissions",
$form->comment_settings->access_permissions->value);
module::set_var("comment", "rss_available",
$form->comment_settings->rss_available->value);
module::set_var("comment", "rss_visible",
$form->comment_settings->rss_visible->value);
message::success(t("Comment settings updated"));
url::redirect("admin/comments");
}