fixes #2281 rename function for better clarity

first_connexion to is_first_connection
This commit is contained in:
Linty 2024-11-20 18:09:02 +01:00
parent 34296598d4
commit f6a3d0749f
3 changed files with 3 additions and 3 deletions

View file

@ -1927,7 +1927,7 @@ function userprefs_get_param($param, $default_value=null)
* @param int $user_id
* @return bool true if first connexion else false
*/
function first_connexion($user_id)
function is_first_connection($user_id)
{
$query = '
SELECT COUNT(*)