From 62c149e38dba1fe6ebfb604c86d6167f9b052b46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Fri, 9 Apr 2010 15:26:37 +0200 Subject: [PATCH] Revert part of eb5e03880e579d572ec8e45a8fc0777929defddc. XLSX writer does not have setTempDir method. --- libraries/export/xlsx.php | 1 - 1 file changed, 1 deletion(-) 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))) {