X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FCore%2FUserImport.php;h=ed131910c74c9444cdcd8926d2854ffa7c25f6af;hb=0d1fa70e2ecb372d158871285e0cda5f6d77194a;hp=ffe680dc4c25782cfc52810a5adb092dbe40771f;hpb=e8bf74914b80884ccaf8d137366dea5d71215640;p=friendica.git diff --git a/src/Core/UserImport.php b/src/Core/UserImport.php index ffe680dc4c..ed131910c7 100644 --- a/src/Core/UserImport.php +++ b/src/Core/UserImport.php @@ -1,7 +1,24 @@ . + * */ + namespace Friendica\Core; use Friendica\App; @@ -254,7 +271,7 @@ class UserImport if ($r === false) { Logger::log("uimport:insert profile: ERROR : " . DBA::errorMessage(), Logger::INFO); - info(DI::l10n()->t("User profile creation error")); + notice(DI::l10n()->t("User profile creation error")); DBA::delete('user', ['uid' => $newuid]); DBA::delete('profile_field', ['uid' => $newuid]); return; @@ -263,7 +280,7 @@ class UserImport $profile['id'] = DBA::lastInsertId(); } - DI::profileField()->migrateFromProfile($profile); + DI::profileField()->migrateFromLegacyProfile($profile); } ///@TODO Replace with permissionset import