mirror of
https://github.com/friendica/friendica
synced 2025-04-28 12:24:23 +02: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
|
@ -25,6 +25,7 @@ use Friendica\Database\DBA;
|
|||
use Friendica\Database\DBStructure;
|
||||
use Friendica\DI;
|
||||
use Friendica\Model\Photo;
|
||||
use Friendica\Model\Profile;
|
||||
use Friendica\Object\Image;
|
||||
use Friendica\Security\PermissionSet\Depository\PermissionSet;
|
||||
use Friendica\Util\Strings;
|
||||
|
@ -278,7 +279,7 @@ class UserImport
|
|||
$profile['id'] = DBA::lastInsertId();
|
||||
}
|
||||
|
||||
DI::profileField()->migrateFromLegacyProfile($profile);
|
||||
Profile::migrateFromLegacyProfile($profile);
|
||||
}
|
||||
|
||||
$permissionSet = DI::permissionSet()->selectDefaultForUser($newuid);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue