Cleaned-up code - removed syslog entry added for debug

This commit is contained in:
bgenere 2016-11-28 14:30:21 +01:00
parent b81a1a9a1d
commit a3fbe94f7c

View File

@ -177,7 +177,6 @@ class ExportCsv extends ModeleExports
*/ */
function write_header($outputlangs) function write_header($outputlangs)
{ {
return 0; return 0;
} }
@ -197,7 +196,6 @@ class ExportCsv extends ModeleExports
*/ */
function write_title($array_export_fields_label,$array_selected_sorted,$outputlangs,$array_types) function write_title($array_export_fields_label,$array_selected_sorted,$outputlangs,$array_types)
{ {
global $conf; global $conf;
if (! empty($conf->global->EXPORT_CSV_FORCE_CHARSET)) if (! empty($conf->global->EXPORT_CSV_FORCE_CHARSET))
@ -217,7 +215,7 @@ class ExportCsv extends ModeleExports
fwrite($this->handle,$newvalue.$this->separator); fwrite($this->handle,$newvalue.$this->separator);
} }
fwrite($this->handle,"\n"); fwrite($this->handle,"\n");
return 0; return 0;
} }
@ -314,8 +312,7 @@ class ExportCsv extends ModeleExports
{ {
global $conf; global $conf;
$addquote=0; $addquote=0;
dol_syslog("ExportCsv::csvClean ".$newvalue);
// Rule Dolibarr: No HTML // Rule Dolibarr: No HTML
//print $charset.' '.$newvalue."\n"; //print $charset.' '.$newvalue."\n";
//$newvalue=dol_string_nohtmltag($newvalue,0,$charset); //$newvalue=dol_string_nohtmltag($newvalue,0,$charset);