SUPER handling for most of Wobject/*.pm. There's a problem with Calendar, though.

This commit is contained in:
Colin Kuskie 2010-04-08 17:00:05 -07:00
parent fd736e7f67
commit f56bac9948
18 changed files with 95 additions and 123 deletions

View file

@ -94,12 +94,12 @@ Extends the base method to add custom template variables for the Newsletter.
=cut
sub getViewTemplateVars {
override getViewTemplateVars => sub {
my $self = shift;
my $var = $self->SUPER::getViewTemplateVars;
my $var = super();
$var->{mySubscriptionsUrl} = $self->getUrl("func=mySubscriptions");
return $var;
}
};