<?php
foreach (\Components\Settings\Administrators::getAll() as $arrAdmin)
{
try
{
\Components\Settings\Administrators::delete($arrAdmin['contact_id']);
\Components\Customers\Contacts::delete($arrAdmin['contact_id']);
}
catch (\Framework\Exceptions\Generic $pException){}
}
?>
<?php
foreach (\Components\Settings\Administrators::getAll() as $arrAdmin)
{
try
{
\Components\Settings\Administrators::delete($arrAdmin['contact_id']);
\Components\Customers\Contacts::delete($arrAdmin['contact_id']);
}
catch (\Framework\Exceptions\Generic $pException){}
}
?>