Index: email_registration.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/email_registration/email_registration.module,v retrieving revision 1.5.2.11 diff -u -p -r1.5.2.11 email_registration.module --- email_registration.module 14 Jul 2009 00:45:00 -0000 1.5.2.11 +++ email_registration.module 13 Jan 2010 04:09:07 -0000 @@ -45,7 +45,7 @@ function email_registration_user($op, &$ // if email verification is off and a new user is the one creating account, log the new user in with correct name global $user; - if (!variable_get('user_email_verification', 1) && $user->uid == 0) { + if (!variable_get('user_email_verification', 1) && $user->uid == 0) { $user = $account; $user->name = $namenew; } @@ -104,4 +104,12 @@ function email_registration_user_login_v $form_state['values']['name'] = $name; } } -} \ No newline at end of file +} + +/** + * Implementation of hook_migrate_api(). + */ +function email_registration_migrate_api() { + $api = array('api' => 1); + return $api; +}