Some more comments added

This commit is contained in:
Michael 2021-11-17 06:36:12 +00:00
parent eaf4bc6d4f
commit a9e1847afd
2 changed files with 3 additions and 0 deletions

View file

@ -50,6 +50,7 @@ class FollowersList extends ContactEndpoint
'default' => 1, 'default' => 1,
]]); ]]);
// @todo Use Model\Contact\Relation::listFollowers($cid, $condition, $count);
System::jsonExit(self::list( System::jsonExit(self::list(
[Contact::FOLLOWER, Contact::FRIEND], [Contact::FOLLOWER, Contact::FRIEND],

View file

@ -50,6 +50,8 @@ class Lists extends ContactEndpoint
'default' => 1, 'default' => 1,
]]); ]]);
// @todo Use Model\Contact\Relation::listFollows($cid, $condition, $count);
System::jsonExit(self::list( System::jsonExit(self::list(
[Contact::SHARING, Contact::FRIEND], [Contact::SHARING, Contact::FRIEND],
self::getUid($contact_id, $screen_name), self::getUid($contact_id, $screen_name),