mirror of
https://github.com/friendica/friendica
synced 2025-04-20 15:10:12 +00:00
Move ProfileFieldRepository::migrateFromLegacyProfile() & delete old repository
This commit is contained in:
parent
f403851946
commit
838cdac5d1
9 changed files with 93 additions and 166 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue