Old Tainacan importer: remove print

This commit is contained in:
andre2ar 2018-05-03 14:46:43 -03:00
parent 69a88e1b34
commit 9c1e2b325b
1 changed files with 2 additions and 2 deletions

View File

@ -206,6 +206,7 @@ class Old_Tainacan extends Importer
$special = [
'socialdb_property_fixed_type'
];
if(!in_array($meta->slug, $avoid) && !in_array($meta->type, $avoid))
{
$newField = new \Tainacan\Entities\Field();
@ -218,8 +219,7 @@ class Old_Tainacan extends Importer
$newField->set_collection_id('default');
$newField->validate(); // there is no user input here, so we can be sure it will validate.
$newField = $Fields_Repository->insert($newField);
print $meta->type;
$Fields_Repository->insert($newField);
}
}
}