Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
e027bbc9
Commit
e027bbc9
authored
Oct 08, 2018
by
Elias Villiger
Browse files
F6596 Clean up tmp file - refs #6596
parent
76f6313b
Pipeline
#962
passed with stage
in 1 minute and 47 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
extension/qfq/qfq/report/Download.php
View file @
e027bbc9
...
...
@@ -274,11 +274,12 @@ class Download {
$rcArgsString
=
KeyValueStringParser
::
unparse
(
$rcArgs
,
'='
,
'&'
);
$url
=
Support
::
mergeUrlComponents
(
''
,
$tmpFilename
,
$rcArgsString
);
$filename
=
$this
->
html2pdf
->
page2pdf
(
$token
,
$url
);
HelperFile
::
cleanTempFiles
([
$tmpFilename
]);
}
else
{
$
url
=
$value
;
$
filename
=
$this
->
html2pdf
->
page2pdf
(
$token
,
$value
)
;
}
$filename
=
$this
->
html2pdf
->
page2pdf
(
$token
,
$url
);
}
break
;
...
...
@@ -375,6 +376,7 @@ class Download {
* @param string $outputMode OUTPUT_MODE_DIRECT | OUTPUT_MODE_FILE
* @return string Filename of the generated file. The filename only points to a real existing filename with $outputMode=OUTPUT_MODE_FILE
* @throws CodeException
* @throws DbException
* @throws DownloadException
* @throws UserFormException
* @throws UserReportException
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment