diff --git a/libraries/export/xlsx.php b/libraries/export/xlsx.php index 86a17a97e..1b24c4c32 100644 --- a/libraries/export/xlsx.php +++ b/libraries/export/xlsx.php @@ -59,7 +59,6 @@ function PMA_exportFooter() { $tmp_filename = tempnam(realpath($GLOBALS['cfg']['TempDir']), 'pma_xlsx_'); $workbookWriter = new PHPExcel_Writer_Excel2007($workbook); - $workbookWriter->setTempDir(realpath($GLOBALS['cfg']['TempDir'])); $workbookWriter->save($tmp_filename); if (!PMA_exportOutputHandler(file_get_contents($tmp_filename))) {