warning points does not expire

developr

Active member
hi there,

i have a big catalog of warnings. for every new warning the user get 1 point. every point expires in 6 month.

Bildschirmfoto 2019-10-10 um 20.28.20.webp

for the first point the user will be banned for 1 day.
for the second point the user will be banned for 2 days.
for the third point the user will be banned for 3 days.
...

Bildschirmfoto 2019-10-10 um 20.28.30.webp

now i saw that the points which should be deleted after 6 month still exists. the warning points in the userprofile shows (in that case) 9 points and now the user was banned automatically for 14 days.

Bildschirmfoto 2019-10-10 um 20.32.08.webp

but in the database is the expired date and also the flag "is_expired" is set to 1.

Bildschirmfoto 2019-10-10 um 20.30.16.webp

as i understood the system normally should delete (or expire) all warnings of 2018 and before (because the expire date) so the user has 0 points. now the user get a warning (0+1) and 1 day of ban.

it seems that it works different?
 
Top Bottom