Closed (fixed)
Project:
Inactive User
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Oct 2012 at 16:15 UTC
Updated:
11 Nov 2012 at 23:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
azinck commentedPatch attached.
Comment #2
thebruce commentedazinck is correct, the logic here needs his fix.
The query above this conditional which fills the $notexpired_user with a rowCount() is looking for warned users with a criteria of request being greater than the warned_user result. Warned user is created by adding the warned user interval, configured in the admin screen, to the request time when the cron job that warns the user is run. If the warned user interval has not yet been passed in time, then the user is still valid.
This particular conditional is meant to block users who have been sent a warning and that warning has expired.
The patch fixes and ensures that concern.
Comment #3
deekayen commentedcommitted