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

@ -45,7 +45,7 @@ class Show extends BaseApi
$profile = Profile::getByUID($uid);
$profileFields = DI::profileFieldNew()->selectPublicFieldsByUserId($uid);
$profileFields = DI::profileField()->selectPublicFieldsByUserId($uid);
$profile = self::formatProfile($profile, $profileFields);