]> git.mxchange.org Git - friendica.git/blobdiff - mod/nogroup.php
Change called method names
[friendica.git] / mod / nogroup.php
index d88722e3f8244494767caaa309991667256d1b3b..c50ec486c2945670bec64fd0efab49f74f5376b8 100644 (file)
@@ -33,19 +33,19 @@ function nogroup_content(App $a)
        }
 
        require_once 'include/Contact.php';
-       $r = contacts_not_grouped(local_user());
+       $r = Contact::getUngroupedList(local_user());
        if (DBM::is_result($r)) {
                $a->set_pager_total($r[0]['total']);
        }
-       $r = contacts_not_grouped(local_user(), $a->pager['start'], $a->pager['itemspage']);
+       $r = Contact::getUngroupedList(local_user(), $a->pager['start'], $a->pager['itemspage']);
        if (DBM::is_result($r)) {
                foreach ($r as $rr) {
-                       $contact_details = get_contact_details_by_url($rr['url'], local_user(), $rr);
+                       $contact_details = Contact::getDetailsByURL($rr['url'], local_user(), $rr);
 
                        $contacts[] = array(
                                'img_hover' => sprintf(t('Visit %s\'s profile [%s]'), $contact_details['name'], $rr['url']),
                                'edit_hover' => t('Edit contact'),
-                               'photo_menu' => contact_photo_menu($rr),
+                               'photo_menu' => Contact::photoMenu($rr),
                                'id' => $rr['id'],
                                'alt_text' => $alt_text,
                                'dir_icon' => $dir_icon,