diff --git a/docs/changelog/5.x.x.txt b/docs/changelog/5.x.x.txt index d925be00b..1991e9f5c 100644 --- a/docs/changelog/5.x.x.txt +++ b/docs/changelog/5.x.x.txt @@ -2,6 +2,7 @@ - Fixed bug #829806 preventing users from updating thier passwords from the updateAccount form. - Added Apache 2 instructions to install.txt. (Thanks to Andy Grundman.) - Fixed bug [ 831628 ] Subscription notifications sent in wrong language. + - Fixed bug [ 828071 ] USS doubles the number of replies 5.5.0 - Rewrote the discussion system and added many new features in the process. diff --git a/lib/WebGUI/Forum/Post.pm b/lib/WebGUI/Forum/Post.pm index 3d8812422..792ad7ec6 100644 --- a/lib/WebGUI/Forum/Post.pm +++ b/lib/WebGUI/Forum/Post.pm @@ -102,11 +102,6 @@ sub create { $data->{forumPostId} = "new"; my $forumPostId = WebGUI::SQL->setRow("forumPost","forumPostId", $data); $self = WebGUI::Forum::Post->new($forumPostId); - if ($self->getThread->getForum->get("moderatePosts")) { - $self->setStatusPending; - } else { - $self->setStatusApproved; - } return $self; }