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
|
|
@ -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]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue