You are here

public function MigrateDestinationPollim::bulkRollback in Poll Improved 7

Delete a batch of pollims at once.

Parameters

array $pollimIds: List of pollim IDs to be deleted.

File

./pollim.migrate.inc, line 87
Code for pollim.migrate.inc.

Class

MigrateDestinationPollim
Destination class implementing migration into pollim.

Code

public function bulkRollback(array $pollimIds) {
  migrate_instrument_start('pollim_delete_multiple');
  $this
    ->prepareRollback($pollimIds);
  pollim_delete_multiple($pollimIds);
  $this
    ->completeRollback($pollimIds);
  migrate_instrument_stop('pollim_delete_multiple');
}