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

@ -24,7 +24,7 @@ function diaspora_mention2bb($match) {
return;
}
$data = get_contact_details_by_addr($match[2]);
$data = Contact::getDetailsByAddr($match[2]);
$name = $match[1];
@ -97,7 +97,7 @@ function diaspora2bb($s) {
*/
function diaspora_mentions($match) {
$contact = get_contact_details_by_url($match[3]);
$contact = Contact::getDetailsByURL($match[3]);
if (!x($contact, 'addr')) {
$contact = Probe::uri($match[3]);