(cp 6e45a8f42) 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-25 11:31:22 +01:00
parent d16380c3fa
commit 4be028023c
4 changed files with 5 additions and 5 deletions
+1 -1
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(*)