mirror of
				https://github.com/pierre42100/ComunicAPI
				synced 2025-11-04 12:14:12 +00:00 
			
		
		
		
	Added incognito mode
This commit is contained in:
		@@ -38,7 +38,7 @@ class friendsController{
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		//Update the last activity of the user
 | 
			
		||||
		CS::get()->components->user->updateLastActivity(userID);
 | 
			
		||||
		update_last_user_activity_if_allowed();
 | 
			
		||||
 | 
			
		||||
		//Return list
 | 
			
		||||
		return $api_list;
 | 
			
		||||
 
 | 
			
		||||
@@ -129,7 +129,7 @@ class userController
 | 
			
		||||
		user_login_required();
 | 
			
		||||
 | 
			
		||||
		//Update last user activity
 | 
			
		||||
		CS::get()->components->user->updateLastActivity(userID);
 | 
			
		||||
		update_last_user_activity_if_allowed();
 | 
			
		||||
 | 
			
		||||
		//Return userID
 | 
			
		||||
		return array("userID" => userID);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user