mirror of
https://github.com/friendica/friendica
synced 2025-04-27 03:50:11 +00:00
[Database version 1499] Create new paradigm classes for Diaspora Contact
- Switch table fcontact for dcontact in views
This commit is contained in:
parent
ace80ca1b4
commit
ce69026964
14 changed files with 734 additions and 170 deletions
|
@ -1395,7 +1395,7 @@ class Contact
|
|||
}
|
||||
|
||||
if ($data['network'] == Protocol::DIASPORA) {
|
||||
FContact::updateFromProbeArray($data);
|
||||
DI::dsprContact()->updateFromProbeArray($data);
|
||||
}
|
||||
|
||||
self::updateFromProbeArray($contact_id, $data);
|
||||
|
@ -2486,7 +2486,7 @@ class Contact
|
|||
$ret = Probe::uri($contact['url'], $network, $contact['uid']);
|
||||
|
||||
if ($ret['network'] == Protocol::DIASPORA) {
|
||||
FContact::updateFromProbeArray($ret);
|
||||
DI::dsprContact()->updateFromProbeArray($ret);
|
||||
}
|
||||
|
||||
return self::updateFromProbeArray($id, $ret);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue