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,
|
||||
$self->session->getId,
|
||||
);
|
||||
$printSession->scratch->set('isExporting', 1);
|
||||
|
||||
|
||||
my $keywordObj = WebGUI::Keyword->new($printSession);
|
||||
my $keywords = $keywordObj->findKeywords({
|
||||
|
|
|
|||
|
|
@ -191,7 +191,6 @@ sub exportAsHtml {
|
|||
my $self = shift;
|
||||
my $session = $self->session;
|
||||
# set a scratch variable for Assets to know we're exporting
|
||||
$session->scratch->set('isExporting', 1);
|
||||
my ($returnCode, $message);
|
||||
|
||||
# get the i18n object
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue