From 43964552bfb153acca90af3fcc0443c941a39aa7 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 22 Dec 2011 09:07:02 +0100 Subject: [PATCH] Add a TODO --- htdocs/comm/propal.php | 1 + htdocs/commande/fiche.php | 1 + htdocs/compta/facture.php | 1 + htdocs/expedition/fiche.php | 1 + htdocs/fichinter/fiche.php | 1 + htdocs/fourn/commande/fiche.php | 1 + htdocs/fourn/facture/fiche.php | 1 + 7 files changed, 7 insertions(+) diff --git a/htdocs/comm/propal.php b/htdocs/comm/propal.php index 580ff5e1597..0b4bfdddcd3 100644 --- a/htdocs/comm/propal.php +++ b/htdocs/comm/propal.php @@ -446,6 +446,7 @@ if (! empty($_POST['removedfile'])) $vardir=$conf->user->dir_output."/".$user->id; $upload_dir_tmp = $vardir.'/temp'; + // TODO Delete only files that was uploaded from email form $mesg=dol_remove_file_process($_POST['removedfile'],0); $action='presend'; diff --git a/htdocs/commande/fiche.php b/htdocs/commande/fiche.php index 9a7cc4a397e..0c3103c0801 100644 --- a/htdocs/commande/fiche.php +++ b/htdocs/commande/fiche.php @@ -978,6 +978,7 @@ if (! empty($_POST['removedfile'])) $vardir=$conf->user->dir_output."/".$user->id; $upload_dir_tmp = $vardir.'/temp'; + // TODO Delete only files that was uploaded from email form $mesg=dol_remove_file_process($_POST['removedfile'],0); $action ='presend'; diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index 0f34e84e434..41d0ea4ef06 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -1264,6 +1264,7 @@ if (! empty($_POST['removedfile'])) $vardir=$conf->user->dir_output."/".$user->id; $upload_dir_tmp = $vardir.'/temp'; + // TODO Delete only files that was uploaded from email form $mesg=dol_remove_file_process($_POST['removedfile'],0); $action='presend'; diff --git a/htdocs/expedition/fiche.php b/htdocs/expedition/fiche.php index f3a08a0f7f1..2b8c8495126 100644 --- a/htdocs/expedition/fiche.php +++ b/htdocs/expedition/fiche.php @@ -313,6 +313,7 @@ if (! empty($_POST['removedfile'])) $vardir=$conf->user->dir_output."/".$user->id; $upload_dir_tmp = $vardir.'/temp'; + // TODO Delete only files that was uploaded from email form $mesg=dol_remove_file_process($_POST['removedfile'],0); $action ='presend'; diff --git a/htdocs/fichinter/fiche.php b/htdocs/fichinter/fiche.php index aa0b3abc031..615fef8242f 100644 --- a/htdocs/fichinter/fiche.php +++ b/htdocs/fichinter/fiche.php @@ -467,6 +467,7 @@ if (! empty($_POST['removedfile'])) $vardir=$conf->user->dir_output."/".$user->id; $upload_dir_tmp = $vardir.'/temp'; + // TODO Delete only files that was uploaded from email form $mesg=dol_remove_file_process($_POST['removedfile'],0); $action='presend'; diff --git a/htdocs/fourn/commande/fiche.php b/htdocs/fourn/commande/fiche.php index a738b12a20a..2a3038f298a 100644 --- a/htdocs/fourn/commande/fiche.php +++ b/htdocs/fourn/commande/fiche.php @@ -627,6 +627,7 @@ if (! empty($_POST['removedfile'])) $vardir=$conf->user->dir_output."/".$user->id; $upload_dir_tmp = $vardir.'/temp'; + // TODO Delete only files that was uploaded from email form $mesg=dol_remove_file_process($_POST['removedfile'],0); $action='presend'; diff --git a/htdocs/fourn/facture/fiche.php b/htdocs/fourn/facture/fiche.php index 57464b1a448..fc173d0ec6e 100644 --- a/htdocs/fourn/facture/fiche.php +++ b/htdocs/fourn/facture/fiche.php @@ -662,6 +662,7 @@ if (! empty($_POST['removedfile'])) $vardir=$conf->user->dir_output."/".$user->id; $upload_dir_tmp = $vardir.'/temp'; + // TODO Delete only files that was uploaded from email form $mesg=dol_remove_file_process($_POST['removedfile'],0); $action='presend';