Create a new GUID on user import

This commit is contained in:
Michael 2018-11-14 05:58:03 +00:00
parent 6996a172e8
commit 9271b21d51

View File

@ -129,6 +129,9 @@ class UserImport
$old_handle = $account['user']['nickname'].$oldaddr;
}
// Creating a new guid to avoid problems with Diaspora
$account['user']['guid'] = System::createUUID();
$olduid = $account['user']['uid'];
unset($account['user']['uid']);