EXPORT- Exporting Files (PDFs, docs, and some pages)

This commit is contained in:
JT Smith 2007-03-07 21:50:25 +00:00
parent 0ceb0f68e3
commit fc3f206171
4 changed files with 60 additions and 80 deletions

View file

@ -388,8 +388,6 @@ sub www_edit {
# exporter. We have a separate method for this now.
sub exportHtml_view {
my $self = shift;
return $self->session->privilege->noAccess() unless $self->canView;
my $path = $self->getStorageLocation->getPath($self->get('filename'));
my $fh = eval { FileHandle->new($path) };
defined($fh) or return "";