EXPORT- Exporting Files (PDFs, docs, and some pages)
This commit is contained in:
parent
0ceb0f68e3
commit
fc3f206171
4 changed files with 60 additions and 80 deletions
|
|
@ -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 "";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue