You are here

function role_expire_migrate_complete_role in Role Expire 7

Same name and namespace in other branches
  1. 6 role_expire.migrate.inc \role_expire_migrate_complete_role()

Implementation of hook_migrate_prepare_role().

File

./role_expire.migrate.inc, line 19
Role Expire module migration support

Code

function role_expire_migrate_complete_role(&$newrole, $tblinfo, $row) {
  if (isset($newrole['duration'])) {
    role_expire_set_default_duration($newrole['rid'], $newrole['duration']);
  }
}