mirror of
https://github.com/friendica/friendica
synced 2025-04-25 07:50:10 +00:00
Change called method names
- Add GlobalContact::getRandomUrl - Rename Contact::getIdForURL - Rename Diaspora::sendUnshare - Remove unused parameter $self in Contact::terminateFriendship
This commit is contained in:
parent
b92fc24ff0
commit
ec02af593d
48 changed files with 133 additions and 133 deletions
|
@ -775,7 +775,7 @@ class NotificationsManager
|
|||
$sql_extra = " AND `ignore` = 0 ";
|
||||
}
|
||||
|
||||
/// @todo Fetch contact details by "get_contact_details_by_url" instead of queries to contact, fcontact and gcontact
|
||||
/// @todo Fetch contact details by "Contact::getDetailsByUrl" instead of queries to contact, fcontact and gcontact
|
||||
$r = q(
|
||||
"SELECT `intro`.`id` AS `intro_id`, `intro`.*, `contact`.*,
|
||||
`fcontact`.`name` AS `fname`, `fcontact`.`url` AS `furl`,
|
||||
|
@ -904,7 +904,7 @@ class NotificationsManager
|
|||
// If the network and addr is still not available
|
||||
// get the missing data data from other sources
|
||||
if ($arr['gnetwork'] == "" || $arr['gaddr'] == "") {
|
||||
$ret = get_contact_details_by_url($arr['url']);
|
||||
$ret = Contact::getDetailsByURL($arr['url']);
|
||||
|
||||
if ($arr['gnetwork'] == "" && $ret['network'] != "") {
|
||||
$arr['gnetwork'] = $ret['network'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue