You are here

public function MigrateDestinationOGMembership::rollback in Migrate Extras 6.2

Delete a membership.

Parameters

$id: ID to be deleted.

File

./og.inc, line 37
Import Organic group memberships.

Class

MigrateDestinationOGMembership
Destination class implementing migration into og_uid table.

Code

public function rollback(array $id) {
  migrate_instrument_start('OGMembership bulkRollback');
  og_delete_subscription($id['gid'], $id['uid']);
  migrate_instrument_stop('OGMembership bulkRollback');
}