Create a new GUID on user import
This commit is contained in:
parent
6996a172e8
commit
9271b21d51
1 changed files with 3 additions and 0 deletions
|
@ -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']);
|
||||
|
|
Loading…
Reference in a new issue