]> git.mxchange.org Git - friendica.git/blobdiff - include/bb2diaspora.php
Change called method names
[friendica.git] / include / bb2diaspora.php
index 2188cf8c7037d463d0f8637f39e3f23e463031d0..3b1540473a31d2172218056afe68eafff56accd5 100644 (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]);