X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=export.php;h=2206def2da0cf1935e926015f355620049e6b60a;hb=HEAD;hp=b194adfb324e5e5db9a6adc20a67d832098c52cf;hpb=5210e7673369389701814dab3bf646b7a0d98437;p=timetracker.git 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);