mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02: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:
@@ -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(*)
|
||||
|
||||
Reference in New Issue
Block a user