mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
Partially revert 3dfdcee193
as not needed
This commit is contained in:
parent
3dfdcee193
commit
2185f35bba
@ -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)
|
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
|
// Set owner, unless it's supposed to come from CSV file
|
||||||
if($this->definition->plugin_options['owner_from_csv'] && $record->owner) {
|
if($this->definition->plugin_options['owner_from_csv'] && $record->owner) {
|
||||||
if(!is_numeric($record->owner)) {
|
if(!is_numeric($record->owner)) {
|
||||||
|
@ -181,10 +181,6 @@ class infolog_import_infologs_csv implements importexport_iface_import_plugin
|
|||||||
{
|
{
|
||||||
$success = false;
|
$success = false;
|
||||||
|
|
||||||
|
|
||||||
// Reset BO data for new record
|
|
||||||
$this->boinfolog->data = array();
|
|
||||||
|
|
||||||
// don't import empty records
|
// don't import empty records
|
||||||
if( count( array_unique( $record ) ) < 2 ) continue;
|
if( count( array_unique( $record ) ) < 2 ) continue;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user