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

@ -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;
}