clean code : remove code for exporting a report definition and use the export mechanism

This commit is contained in:
Dany De Bontridder 2012-01-10 18:02:03 +00:00
parent 1a5b46d40d
commit a76dd15827
7 changed files with 44 additions and 172 deletions

View file

@ -158,6 +158,9 @@ if ( $action=='X' || ! isset($_GET['act']) || $g_user->check_print($_GET['act'])
case 'CSV:AncGrandLivre':
require_once 'export_anc_grandlivre_csv.php';
break;
case 'CSV:reportinit':
require_once('export_reportinit_csv.php');
break;
default:
alert('Action inconnue '.$_GET['act']);
exit();