]> git.mxchange.org Git - friendica.git/blobdiff - mod/directory.php
Rename App Methods
[friendica.git] / mod / directory.php
index 411024dc1aace31a38e12b6f735d5a693a5a0fd7..202132e3667abeb7a86c4ae36153a8b4040eb1ab 100644 (file)
@@ -16,7 +16,7 @@ use Friendica\Util\Proxy as ProxyUtils;
 
 function directory_init(App $a)
 {
-       $a->set_pager_itemspage(60);
+       $a->setPagerItemsPage(60);
 
        if (local_user()) {
                $a->page['aside'] .= Widget::findPeople();
@@ -87,7 +87,7 @@ function directory_content(App $a)
                                LEFT JOIN `user` ON `user`.`uid` = `profile`.`uid`
                                WHERE `is-default` $publish AND NOT `user`.`blocked` AND NOT `user`.`account_removed` $sql_extra");
        if (DBA::isResult($cnt)) {
-               $a->set_pager_total($cnt['total']);
+               $a->setPagerTotal($cnt['total']);
        }
 
        $order = " ORDER BY `name` ASC ";