use Friendica\Util\DateTimeFormat;
use Friendica\Util\Proxy as ProxyUtils;
use Friendica\Core\ACL;
+use Friendica\Module\Login;
function contacts_init(App $a)
{
if (!local_user()) {
notice(L10n::t('Permission denied.') . EOL);
- return;
+ return Login::form();
}
if ($a->argc == 3) {
intval($_SESSION['uid'])
);
if (DBA::isResult($r)) {
- $a->set_pager_total($r[0]['total']);
+ $a->setPagerTotal($r[0]['total']);
$total = $r[0]['total'];
}