]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/UserImport.php
Don't generate a new guid anymore when moving the account.
[friendica.git] / src / Core / UserImport.php
index 582f4d0c3b429a326cabfea7c565eb456c30b9ad..ec6e6bb86c158b546005ef7dae3ecb9c0ea7df3e 100644 (file)
@@ -173,9 +173,6 @@ class UserImport
 
                PConfig::set($newuid, 'system', 'previous_addr', $old_handle);
 
-               // Generate a new guid for the account. Otherwise there will be problems with diaspora
-               dba::update('user', ['guid' => generate_user_guid()], ['uid' => $newuid]);
-
                foreach ($account['profile'] as &$profile) {
                        foreach ($profile as $k => &$v) {
                                $v = str_replace([$oldbaseurl, $oldaddr], [$newbaseurl, $newaddr], $v);