]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/UserImport.php
Create a new GUID on user import
[friendica.git] / src / Core / UserImport.php
index 5488fe43f0f26f35d07b649763db9b0d1d161e5d..e774d248612cf660b155fa08b9e2d9ea21b758be 100644 (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']);