Move ProfileFieldRepository::migrateFromLegacyProfile() & delete old repository

This commit is contained in:
Philipp 2021-10-10 20:54:29 +02:00
parent f403851946
commit 838cdac5d1
No known key found for this signature in database
GPG key ID: 24A7501396EB5432
9 changed files with 93 additions and 166 deletions

View file

@ -206,7 +206,7 @@ function update_1332()
$profiles = DBA::select('profile', [], $condition);
while ($profile = DBA::fetch($profiles)) {
DI::profileField()->migrateFromLegacyProfile($profile);
Profile::migrateFromLegacyProfile($profile);
}
DBA::close($profiles);