use Friendica\Module\Login;
/**
- *
+ * Manages and show Contacts and their content
*
- *
+ * @brief manages contacts
*/
class Contacts extends BaseModule
{
}
if ($a->argv[1] === "batch") {
- contacts_batch_actions($a);
+ self::contacts_batch_actions($a);
return;
}
intval($_SESSION['uid'])
);
if (DBA::isResult($r)) {
- $a->set_pager_total($r[0]['total']);
+ $a->setPagerTotal($r[0]['total']);
$total = $r[0]['total'];
}
return $o;
}
- public static function contact_posts($a, $contact_id)
+ private static function contact_posts($a, $contact_id)
{
$contact = DBA::selectFirst('contact', ['uid', 'url', 'id'], ['id' => $contact_id]);
return $contact_actions;
}
-
}
\ No newline at end of file