]> git.mxchange.org Git - friendica.git/blobdiff - mod/allfriends.php
Merge pull request #3613 from annando/some-ostatus
[friendica.git] / mod / allfriends.php
index 893cf6a5feda1c2ecf55d3e43123546b2f6e8a54..fe3013a7c4af5fef7bef783e1fcaa151ac2aded5 100644 (file)
@@ -1,5 +1,7 @@
 <?php
 
+use Friendica\App;
+
 require_once('include/socgraph.php');
 require_once('include/Contact.php');
 require_once('include/contact_selectors.php');
@@ -37,9 +39,8 @@ function allfriends_content(App $a) {
 
        $total = count_all_friends(local_user(), $cid);
 
-       if (count($total)) {
+       if(count($total))
                $a->set_pager_total($total);
-       }
 
        $r = all_friends(local_user(), $cid, $a->pager['start'], $a->pager['itemspage']);