Avatar

Answering the question about the inactivity notification (Technics)

by Auge ⌂, Thursday, May 12, 2022, 18:07 (137 days ago) @ Auge

Hello

With the version 20220508.1 we introduced the feature to send an e-mail to users who was inactive over a specified time (default is 3 years). Last night this forum sent many of these messages. … Checking the users list of this forum I saw many accounts with a lastest login on 2022-05-09 at 3:30 am. This is exactly the time of the last automatic daily actions (last night) minus three years.

I can not imagine this to be a coincidence.

The answer is the code in functions.inc.php, line 212 (current state of the master branch). The query stores the information about the sent inactivity notification and sets the columns last_login and last_logout to (NOW() - INTERVAL 3 YEAR) (3 is the default value, we used here).

Is there a reason to reset the columns last_login and last_logout I don't realise?

Tschö, Auge

--
Trenne niemals Müll, denn er hat nur eine Silbe!


Complete thread:

 RSS Feed of thread