]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/NotificationsManager.php
Change called method names
[friendica.git] / src / Core / NotificationsManager.php
index 5e2f1ad1f216eb5f628a3cf218bfcf1fca009238..b3146a1d3d89346f81c03c8bd9fcca1531c0acad 100644 (file)
@@ -775,7 +775,7 @@ class NotificationsManager
                        $sql_extra = " AND `ignore` = 0 ";
                }
 
-               /// @todo Fetch contact details by "get_contact_details_by_url" instead of queries to contact, fcontact and gcontact
+               /// @todo Fetch contact details by "Contact::getDetailsByUrl" instead of queries to contact, fcontact and gcontact
                $r = q(
                        "SELECT `intro`.`id` AS `intro_id`, `intro`.*, `contact`.*,
                                `fcontact`.`name` AS `fname`, `fcontact`.`url` AS `furl`,
@@ -904,7 +904,7 @@ class NotificationsManager
                // If the network and addr is still not available
                // get the missing data data from other sources
                if ($arr['gnetwork'] == "" || $arr['gaddr'] == "") {
-                       $ret = get_contact_details_by_url($arr['url']);
+                       $ret = Contact::getDetailsByURL($arr['url']);
 
                        if ($arr['gnetwork'] == "" && $ret['network'] != "") {
                                $arr['gnetwork'] = $ret['network'];