mirror of
https://github.com/pierre42100/ComunicAPI
synced 2025-06-19 00:25:18 +00:00
Created getList friend method
This commit is contained in:
@ -16,7 +16,7 @@ class friendsController{
|
||||
user_login_required(); //Login required
|
||||
|
||||
//Try to get friends list
|
||||
$friendsList = false;
|
||||
$friendsList = CS::get()->components->friends->getList(userID);
|
||||
|
||||
//Check for errors
|
||||
if($friendsList === false)
|
||||
|
Reference in New Issue
Block a user