X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/5210e7673369389701814dab3bf646b7a0d98437..b6546c4547eb47a06f80b6d0ffa474d3929602f9:/export.php diff --git a/export.php b/export.php index b194adfb..2206def2 100644 --- a/export.php +++ b/export.php @@ -27,8 +27,7 @@ // +----------------------------------------------------------------------+ require_once('initialize.php'); -import('ttExportHelper'); -import('ttExportHelper2'); +import('ttOrgExportHelper'); import('form.Form'); // Access check. @@ -57,11 +56,7 @@ if ($request->isPost()) { $mime_type = 'application/x-bzip2'; } - if (defined('SUBGROUP_DEBUG') && isTrue(SUBGROUP_DEBUG)) { - $exportHelper = new ttExportHelper2(); - } else { - $exportHelper = new ttExportHelper(); - } + $exportHelper = new ttOrgExportHelper(); if ($exportHelper->createDataFile($compress)) { header('Pragma: public'); // This is needed for IE8 to download files over https. header('Content-Type: '.$mime_type);