Partially revert 3dfdcee193 as not needed

This commit is contained in:
nathangray 2019-03-26 12:00:43 -06:00
parent 3dfdcee193
commit 2185f35bba
2 changed files with 0 additions and 7 deletions

View File

@ -130,9 +130,6 @@ class addressbook_import_contacts_csv extends importexport_basic_import_csv {
*/
protected function import_record(importexport_iface_egw_record &$record, &$import_csv)
{
// Reset BO data for new record
$this->bocontacts->data = array();
// Set owner, unless it's supposed to come from CSV file
if($this->definition->plugin_options['owner_from_csv'] && $record->owner) {
if(!is_numeric($record->owner)) {

View File

@ -181,10 +181,6 @@ class infolog_import_infologs_csv implements importexport_iface_import_plugin
{
$success = false;
// Reset BO data for new record
$this->boinfolog->data = array();
// don't import empty records
if( count( array_unique( $record ) ) < 2 ) continue;