mirror of
https://github.com/pierre42100/ComunicAPI
synced 2024-11-23 22:09:29 +00:00
User last activity upadted when the friends list is fetched
This commit is contained in:
parent
900c7c7e5e
commit
310136c3b6
@ -22,6 +22,9 @@ class friendsController{
|
||||
if($friendsList === false)
|
||||
Rest_fatal_error(500, "Couldn't get friends list !");
|
||||
|
||||
//Update the last activity of the user
|
||||
CS::get()->components->user->updateLastActivity(userID);
|
||||
|
||||
//Return list
|
||||
return $friendsList;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user