Remove code that sets the synopsis inside Wobject/www_view, since it is also done in processStyle.

This commit is contained in:
Colin Kuskie 2010-02-08 08:50:38 -08:00
parent 01717433db
commit bb26647734
2 changed files with 1 additions and 6 deletions

View file

@ -1,4 +1,5 @@
7.8.12
- fixed #11390: Meta description duplicated in asset Folder
7.8.11
- fixed #11362: Unable to checkout with ITransact plugin

View file

@ -544,12 +544,6 @@ sub www_view {
$self->session->http->setLastModified($self->getContentLastModified);
$self->session->http->sendHeader;
##Have to dupe this code here because Wobject does not call SUPER.
if ($self->get('synopsis')) {
$self->session->style->setMeta({
name => 'Description',
content => $self->get('synopsis'),
});
}
$self->prepareView;
my $style = $self->processStyle($self->getSeparator, { noHeadTags => 1 });
my ($head, $foot) = split($self->getSeparator,$style);