fixed [ 828071 ] USS doubles the number of replies
This commit is contained in:
parent
52e913168c
commit
46bb4e9c0a
2 changed files with 1 additions and 5 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue