X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fuimport.php;h=bd271e91a85c65a4a120ba6a5ccf446610159e41;hb=f496af08bb71080d11f9d76377605bbd16cb9090;hp=6808c706fab7240d8c7707bf23bb515615f7f785;hpb=0e9c8f6f1a0af4b613e468aa2a74ae9a268038d2;p=friendica.git diff --git a/include/uimport.php b/include/uimport.php index 6808c706fa..bd271e91a8 100644 --- a/include/uimport.php +++ b/include/uimport.php @@ -156,7 +156,9 @@ function import_account(&$a, $file) { $newuid = last_insert_id(); //~ $newuid = 1; - + // Generate a new guid for the account. Otherwise there will be problems with diaspora + q("UPDATE `user` SET `guid` = '%s' WHERE `uid` = %d", + dbesc(generate_user_guid()), intval($newuid)); foreach ($account['profile'] as &$profile) { foreach ($profile as $k => &$v) { @@ -193,10 +195,10 @@ function import_account(&$a, $file) { // send relocate message (below) break; case NETWORK_ZOT: - // TODO handle zot network + /// @TODO handle zot network break; case NETWORK_MAIL2: - // TODO ? + /// @TODO ? break; case NETWORK_FEED: case NETWORK_MAIL: