<?php
foreach (\Components\Customers\Contacts::getAll() as $arrContact)
{
if ($arrContact['contact_registered_via_import'])
\Components\Customers\Contacts::delete($arrContact['contact_id']);
}
die();
<?php
foreach (\Components\Customers\Contacts::getAll() as $arrContact)
{
if ($arrContact['contact_registered_via_import'])
\Components\Customers\Contacts::delete($arrContact['contact_id']);
}
die();