mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-26 11:19:55 +03:00
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:
parent
f6a3d0749f
commit
6e45a8f426
4 changed files with 5 additions and 5 deletions
|
@ -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(*)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue