mirror of
https://github.com/friendica/friendica
synced 2024-11-19 12:23:40 +00:00
Upate Contacts module file
This commit is contained in:
parent
80ea86113d
commit
ba95487abf
1 changed files with 5 additions and 6 deletions
|
@ -25,9 +25,9 @@ use Friendica\Core\ACL;
|
||||||
use Friendica\Module\Login;
|
use Friendica\Module\Login;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* Manages and show Contacts and their content
|
||||||
*
|
*
|
||||||
*
|
* @brief manages contacts
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
class Contacts extends BaseModule
|
class Contacts extends BaseModule
|
||||||
{
|
{
|
||||||
|
@ -184,7 +184,7 @@ class Contacts extends BaseModule
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($a->argv[1] === "batch") {
|
if ($a->argv[1] === "batch") {
|
||||||
contacts_batch_actions($a);
|
self::contacts_batch_actions($a);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -805,7 +805,7 @@ class Contacts extends BaseModule
|
||||||
intval($_SESSION['uid'])
|
intval($_SESSION['uid'])
|
||||||
);
|
);
|
||||||
if (DBA::isResult($r)) {
|
if (DBA::isResult($r)) {
|
||||||
$a->set_pager_total($r[0]['total']);
|
$a->setPagerTotal($r[0]['total']);
|
||||||
$total = $r[0]['total'];
|
$total = $r[0]['total'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -980,7 +980,7 @@ class Contacts extends BaseModule
|
||||||
return $o;
|
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]);
|
$contact = DBA::selectFirst('contact', ['uid', 'url', 'id'], ['id' => $contact_id]);
|
||||||
|
|
||||||
|
@ -1134,5 +1134,4 @@ class Contacts extends BaseModule
|
||||||
return $contact_actions;
|
return $contact_actions;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in a new issue