From: Michael Date: Sun, 4 Feb 2018 12:32:56 +0000 (+0000) Subject: Don't generate a new guid anymore when moving the account. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=69c851bd6fa25d3c6d726ea52dbe5855395b3aee;p=friendica.git Don't generate a new guid anymore when moving the account. --- diff --git a/src/Core/UserImport.php b/src/Core/UserImport.php index 582f4d0c3b..ec6e6bb86c 100644 --- a/src/Core/UserImport.php +++ b/src/Core/UserImport.php @@ -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);