From fda9eb1c5b296ea5da0721ffd91261f0baf205c0 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 8 Jul 2008 19:56:06 +0000 Subject: [PATCH] Remove obsolete code --- htdocs/exports/index.php | 46 ++++++---------------------------------- 1 file changed, 6 insertions(+), 40 deletions(-) diff --git a/htdocs/exports/index.php b/htdocs/exports/index.php index f7ba629457b..56f3f4feae5 100644 --- a/htdocs/exports/index.php +++ b/htdocs/exports/index.php @@ -1,5 +1,5 @@ +/* Copyright (C) 2005-2008 Laurent Destailleur * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -36,7 +36,11 @@ if (! $user->societe_id == 0) $export=new Export($db); $export->load_arrays($user); - + +/* + * View + */ + llxHeader('',$langs->trans("ExportsArea")); print_fiche_titre($langs->trans("ExportsArea")); @@ -115,43 +119,6 @@ else } print ''; -//Todo : Requete obsolete pointant sur une table inexistante -// Affiche les profils d'exports -/* -$sql = "SELECT rowid, label, public, fk_user, ".$db->pdate("datec"); -$sql .= " FROM ".MAIN_DB_PREFIX."export as e"; -$result=$db->query($sql); -if ($result) -{ - print '
'; - print ''; - print ''; - print ''; - print ''; - - $num = $db->num_rows($result); - if ($num > 0) - { - $var = true; - $i = 0; - - while ($i < $num ) - { - $obj = $db->fetch_object($result); - $var=!$var; - - print ""; - print ''; - print ''; - print ''; - $i++; - } - } - - print "
'.$langs->trans("ExportProfiles").''.$langs->trans("Public").'
'.$obj->label.''.$yn($obj->public).'
"; -} -*/ - print ''; print ''; @@ -159,5 +126,4 @@ $db->close(); llxFooter('$Date$ - $Revision$'); - ?>