$profile['id'] = DBA::lastInsertId();
}
- DI::profileField()->migrateFromProfile($profile);
+ DI::profileField()->migrateFromLegacyProfile($profile);
}
///@TODO Replace with permissionset import
* @param array $profile Profile table row
* @throws \Exception
*/
- public function migrateFromProfile(array $profile)
+ public function migrateFromLegacyProfile(array $profile)
{
// Already processed, aborting
if ($profile['is-default'] === null) {
$profiles = DBA::select('profile', [], $condition);
while ($profile = DBA::fetch($profiles)) {
- DI::profileField()->migrateFromProfile($profile);
+ DI::profileField()->migrateFromLegacyProfile($profile);
}
DBA::close($profiles);