You are here

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

File

merci_migrate/merci_reservation.inc, line 178

Class

MigrateDestinationReservation

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');
}