]> git.mxchange.org Git - friendica.git/blobdiff - mod/contacts.php
Merge pull request #5862 from nupplaphil/rename_App_Methods
[friendica.git] / mod / contacts.php
index c33e9b620607ded477f2c6418bf8e827b6548494..4e149ab74fa4c448cc0e1fcaa847e1551ce18dfb 100644 (file)
@@ -22,6 +22,7 @@ use Friendica\Network\Probe;
 use Friendica\Util\DateTimeFormat;
 use Friendica\Util\Proxy as ProxyUtils;
 use Friendica\Core\ACL;
+use Friendica\Module\Login;
 
 function contacts_init(App $a)
 {
@@ -375,7 +376,7 @@ function contacts_content(App $a, $update = 0)
 
        if (!local_user()) {
                notice(L10n::t('Permission denied.') . EOL);
-               return;
+               return Login::form();
        }
 
        if ($a->argc == 3) {
@@ -792,7 +793,7 @@ function contacts_content(App $a, $update = 0)
                intval($_SESSION['uid'])
        );
        if (DBA::isResult($r)) {
-               $a->set_pager_total($r[0]['total']);
+               $a->setPagerTotal($r[0]['total']);
                $total = $r[0]['total'];
        }