fixed a bunch of GalleryAlbum/Photo tests

This commit is contained in:
Doug Bell 2007-12-26 00:39:08 +00:00
parent 6dfe05b119
commit af271b9f26
13 changed files with 225 additions and 248 deletions

View file

@ -717,10 +717,13 @@ sub www_deleteConfirm {
return $self->session->privilege->insufficient unless $self->canEdit;
my $gallery = $self->getParent;
my $i18n = __PACKAGE__->i18n( $self->session );
$self->purge;
return $gallery->www_view;
return $self->processStyle(
sprintf $i18n->get('delete message'), $self->getParent->getUrl,
);
}
#----------------------------------------------------------------------------