public function MigrateDestinationUser::bulkRollback in Migrate 7.2
Same name and namespace in other branches
- 6.2 plugins/destinations/user.inc \MigrateDestinationUser::bulkRollback()
Delete a batch of users at once.
Parameters
$uids: Array of user IDs to be deleted.
File
- plugins/
destinations/ user.inc, line 132 - Support for user destinations.
Class
- MigrateDestinationUser
- Destination class implementing migration into users.
Code
public function bulkRollback(array $uids) {
migrate_instrument_start('user_delete_multiple');
$this
->prepareRollback($uids);
user_delete_multiple($uids);
$this
->completeRollback($uids);
migrate_instrument_stop('user_delete_multiple');
}