mirror of
https://github.com/friendica/friendica
synced 2025-04-26 01:50:11 +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
|
@ -381,7 +381,7 @@ class Transmitter
|
|||
|
||||
$custom_fields = [];
|
||||
|
||||
foreach (DI::profileFieldNew()->selectByContactId(0, $uid) as $profile_field) {
|
||||
foreach (DI::profileField()->selectByContactId(0, $uid) as $profile_field) {
|
||||
$custom_fields[] = [
|
||||
'type' => 'PropertyValue',
|
||||
'name' => $profile_field->label,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue