X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModel%2FUser.php;h=029613b17b0b692e19e3301fcd6d2b841d54640e;hb=8bdfdc7d52e149edb711c6d238c1f7593e237e83;hp=0482488e2b1668173640b4464e9d116b94565ee6;hpb=785f8124ed9300abea533d48be95a483f2cecf18;p=friendica.git diff --git a/src/Model/User.php b/src/Model/User.php index 0482488e2b..029613b17b 100644 --- a/src/Model/User.php +++ b/src/Model/User.php @@ -312,7 +312,7 @@ class User */ public static function getIdForURL(string $url) { - // Avoid any database requests when the hostname isn't even part of the url. + // Avoid database queries when the local node hostname isn't even part of the url. if (!Contact::isLocal($url)) { return 0; } @@ -1123,6 +1123,8 @@ class User Photo::update(['profile' => 1], ['resource-id' => $resource_id]); } } + + Contact::updateSelfFromUserID($uid, true); } Hook::callAll('register_account', $uid);