1
0
Fork 0

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:
Hypolite Petovan 2017-11-19 17:03:39 -05:00
commit ec02af593d
48 changed files with 133 additions and 133 deletions

View file

@ -462,7 +462,7 @@ function message_content(App $a) {
$to_name_e = $message['name'];
}
$contact = get_contact_details_by_url($message['from-url']);
$contact = Contact::getDetailsByURL($message['from-url']);
if (isset($contact["thumb"]))
$from_photo = $contact["thumb"];
else
@ -576,7 +576,7 @@ function render_messages(array $msg, $t) {
$to_name_e = $rr['name'];
}
$contact = get_contact_details_by_url($rr['url']);
$contact = Contact::getDetailsByURL($rr['url']);
if (isset($contact["thumb"]))
$from_photo = $contact["thumb"];
else