]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/APContact.php
New fields in contact table / don't update on probe
[friendica.git] / src / Model / APContact.php
index b027d6c47810d61096b44a1661924930bc1fea2e..6d50582e68452251144b1bef22731af6c1fdf5c0 100644 (file)
@@ -270,10 +270,7 @@ class APContact extends BaseObject
                }
 
                // Update the gcontact table
-               // These two fields don't exist in the gcontact table
-               unset($contact_fields['forum']);
-               unset($contact_fields['prv']);
-               DBA::update('gcontact', $contact_fields, ['nurl' => Strings::normaliseLink($url)]);
+               GContact::updateFromPublicContactURL($url);
 
                Logger::log('Updated profile for ' . $url, Logger::DEBUG);