Replace references to profile.name by user.username

This commit is contained in:
Hypolite Petovan 2023-08-11 01:05:02 +02:00
parent 7e971a2ec6
commit e31d90eadb
7 changed files with 19 additions and 34 deletions

View file

@ -788,10 +788,10 @@ class Contact
/**
* Updates the self-contact for the provided user id
*
* @param int $uid
* @param bool $update_avatar Force the avatar update
* @param int $uid
* @param bool $update_avatar Force the avatar update
* @return bool "true" if updated
* @throws HTTPException\InternalServerErrorException
* @throws \Exception
*/
public static function updateSelfFromUserID(int $uid, bool $update_avatar = false): bool
{