New fields in contact table / don't update on probe

This commit is contained in:
Michael 2019-07-04 04:08:55 +00:00
parent 7b0a9ffd89
commit ef5be9668f
9 changed files with 39 additions and 129 deletions

View 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);