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

@ -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,