Use wg8 instanciators.

This commit is contained in:
Colin Kuskie 2010-03-04 08:50:57 -08:00
parent f17fc5c7ad
commit 360acb5191

View file

@ -230,7 +230,7 @@ Get a WebGUI::Asset::Template object for the subscription template.
sub getSubscriptionTemplate {
my $self = shift;
my $templateId = $self->subscriptionTemplateId;
my $template = WebGUI::Asset::Template->new( $self->session, $templateId ); # This should throw if we don't
my $template = WebGUI::Asset::Template->newById( $self->session, $templateId ); # This should throw if we don't
return $template;
}