Change calls to new to newById across Asset/

This commit is contained in:
Colin Kuskie 2010-03-03 16:27:45 -08:00
parent da574279d9
commit 814c2af249
55 changed files with 98 additions and 98 deletions

View file

@ -786,7 +786,7 @@ sub getThread {
$threadId=$self->getParent->threadId;
}
}
$self->{_thread} = WebGUI::Asset::Post::Thread->new($self->session, $threadId);
$self->{_thread} = WebGUI::Asset::Post::Thread->newById($self->session, $threadId);
}
return $self->{_thread};
}
@ -1786,7 +1786,7 @@ sub www_showConfirmation {
$collabSystem = $parent->getParent;
}
my $templateId = $collabSystem->postReceivedTemplateId;
my $template = WebGUI::Asset->new($self->session, $templateId);
my $template = WebGUI::Asset->newById($self->session, $templateId);
my %var = (
url => $url,
);