You are here

public function MigrateDestinationLineItem::rollback in MERCI (Manage Equipment Reservations, Checkout and Inventory) 7.3

File

merci_migrate/merci_line_item.inc, line 162

Class

MigrateDestinationLineItem

Code

public function rollback(array $id) {
  static $count = 0;
  migrate_instrument_start('merci_line_item_delete');
  $this
    ->prepareRollback($id);
  entity_delete('merci_line_item', reset($id));
  $this
    ->completeRollback($id);
  migrate_instrument_stop('merci_line_item_delete');
}