]> git.mxchange.org Git - friendica.git/commitdiff
Don't generate a new guid anymore when moving the account.
authorMichael <heluecht@pirati.ca>
Sun, 4 Feb 2018 12:32:56 +0000 (12:32 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 4 Feb 2018 12:32:56 +0000 (12:32 +0000)
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);