mirror of
https://github.com/friendica/friendica
synced 2025-04-27 09:50:12 +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
|
@ -116,7 +116,7 @@ function do_like($item_id, $verb) {
|
|||
$item_contact_id = $owner_self_contact['id'];
|
||||
$item_contact = $owner_self_contact;
|
||||
} else {
|
||||
$item_contact_id = get_contact($author_contact['url'], $item['uid']);
|
||||
$item_contact_id = Contact::getIdForURL($author_contact['url'], $item['uid']);
|
||||
|
||||
$contacts = q("SELECT * FROM `contact` WHERE `id` = %d",
|
||||
intval($item_contact_id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue