X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=export.php;h=2206def2da0cf1935e926015f355620049e6b60a;hb=HEAD;hp=cf3bccfa91f43f9b93c9380b9ec8ab2d5e96d589;hpb=bea65bba9873151a4d31f944d90d9b93c72727b0;p=timetracker.git diff --git a/export.php b/export.php index cf3bccfa..2206def2 100644 --- a/export.php +++ b/export.php @@ -27,7 +27,6 @@ // +----------------------------------------------------------------------+ require_once('initialize.php'); -import('ttExportHelper'); import('ttOrgExportHelper'); import('form.Form'); @@ -57,11 +56,7 @@ if ($request->isPost()) { $mime_type = 'application/x-bzip2'; } - if (defined('SUBGROUP_DEBUG') && isTrue(SUBGROUP_DEBUG)) { - $exportHelper = new ttOrgExportHelper(); - } 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);