update coments in class Term_Importer

This commit is contained in:
vnmedeiros 2018-09-24 10:06:10 -03:00
parent d306783e19
commit 812cbeaa2c
1 changed files with 6 additions and 2 deletions

View File

@ -1,6 +1,10 @@
<?php
/**
* @author: MediaLab-UFG(Vinicius Nunes).
* Term Importer
*
* Class to import files CSV with terms
*
*/
@ -16,7 +20,7 @@ class Term_Importer extends Importer {
$this->remove_import_method('url');
$this->set_default_options([
'delimiter' => ','
'delimiter' => ','
]);
}
@ -93,7 +97,7 @@ class Term_Importer extends Importer {
if (($handle = fopen($this->tmp_file, "r")) !== false) {
$file = $handle;
} else {
} else {
$this->add_error_log(' Error reading the file ');
return false;
}