You are here

public function MigrateDestinationFlagSimple::bulkRollback in Migrate Extras 7.2

Same name and namespace in other branches
  1. 6.2 flag.inc \MigrateDestinationFlagSimple::bulkRollback()

Delete a membership.

Parameters

$id: IDs to be deleted.

File

./flag.inc, line 37
Flag module integration

Class

MigrateDestinationFlagSimple
Destination class implementing when you want just an insert into flag_content table.

Code

public function bulkRollback(array $ids) {
  migrate_instrument_start(__METHOD__);
  db_delete('flag_content')
    ->condition('fcid', $ids, 'IN')
    ->execute();
  migrate_instrument_stop(__METHOD__);
}