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
1 changed files with 3 additions and 0 deletions

View File

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