Created getList friend method

This commit is contained in:
Pierre
2017-05-31 16:49:25 +02:00
parent 3ad05483f5
commit b0177e9c6f
2 changed files with 45 additions and 1 deletions

View File

@ -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)