fixed [ 828071 ] USS doubles the number of replies

This commit is contained in:
JT Smith 2003-11-15 23:07:11 +00:00
parent 52e913168c
commit 46bb4e9c0a
2 changed files with 1 additions and 5 deletions

View file

@ -2,6 +2,7 @@
- Fixed bug #829806 preventing users from updating thier passwords from the updateAccount form. - Fixed bug #829806 preventing users from updating thier passwords from the updateAccount form.
- Added Apache 2 instructions to install.txt. (Thanks to Andy Grundman.) - Added Apache 2 instructions to install.txt. (Thanks to Andy Grundman.)
- Fixed bug [ 831628 ] Subscription notifications sent in wrong language. - Fixed bug [ 831628 ] Subscription notifications sent in wrong language.
- Fixed bug [ 828071 ] USS doubles the number of replies
5.5.0 5.5.0
- Rewrote the discussion system and added many new features in the process. - Rewrote the discussion system and added many new features in the process.

View file

@ -102,11 +102,6 @@ sub create {
$data->{forumPostId} = "new"; $data->{forumPostId} = "new";
my $forumPostId = WebGUI::SQL->setRow("forumPost","forumPostId", $data); my $forumPostId = WebGUI::SQL->setRow("forumPost","forumPostId", $data);
$self = WebGUI::Forum::Post->new($forumPostId); $self = WebGUI::Forum::Post->new($forumPostId);
if ($self->getThread->getForum->get("moderatePosts")) {
$self->setStatusPending;
} else {
$self->setStatusApproved;
}
return $self; return $self;
} }