Remove deprecated code, overriding update in Template.pm

This commit is contained in:
Colin Kuskie 2010-02-04 12:51:49 -08:00
parent 4a240ba0e0
commit 2f8aff55e2

View file

@ -757,30 +757,6 @@ sub removeAttachments {
$db->write($rmsql, \@params);
}
#-------------------------------------------------------------------
=head2 update
Override update from Asset.pm to handle backwards compatibility with the old
packages that contain headBlocks. This will be removed in the future. Don't plan
on this being here.
=cut
sub update {
my $self = shift;
my $requestedProperties = shift;
my $properties = clone($requestedProperties);
if (exists $properties->{headBlock}) {
$properties->{extraHeadTags} .= $properties->{headBlock};
delete $properties->{headBlock};
}
$self->SUPER::update($properties);
}
#-------------------------------------------------------------------
=head2 www_edit