Do not set the exporting scratch variable in places where it is not needed.
This commit is contained in:
parent
1b8ad91605
commit
8d8d5f2d3b
2 changed files with 0 additions and 3 deletions
|
|
@ -218,8 +218,6 @@ sub exportAssetCollateral {
|
||||||
undef,
|
undef,
|
||||||
$self->session->getId,
|
$self->session->getId,
|
||||||
);
|
);
|
||||||
$printSession->scratch->set('isExporting', 1);
|
|
||||||
|
|
||||||
|
|
||||||
my $keywordObj = WebGUI::Keyword->new($printSession);
|
my $keywordObj = WebGUI::Keyword->new($printSession);
|
||||||
my $keywords = $keywordObj->findKeywords({
|
my $keywords = $keywordObj->findKeywords({
|
||||||
|
|
|
||||||
|
|
@ -191,7 +191,6 @@ sub exportAsHtml {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
my $session = $self->session;
|
my $session = $self->session;
|
||||||
# set a scratch variable for Assets to know we're exporting
|
# set a scratch variable for Assets to know we're exporting
|
||||||
$session->scratch->set('isExporting', 1);
|
|
||||||
my ($returnCode, $message);
|
my ($returnCode, $message);
|
||||||
|
|
||||||
# get the i18n object
|
# get the i18n object
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue