fixes #2281 use template for reset/activation mail

and change is_first_connection to has_already_logged_in for better naming
This commit is contained in:
Linty 2024-11-20 21:06:02 +01:00
parent f6a3d0749f
commit 6e45a8f426
4 changed files with 5 additions and 5 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 is_first_connection($user_id)
function has_already_logged_in($user_id)
{
$query = '
SELECT COUNT(*)