Bug tracker
Pruning users by last activity takes later joined users which had never activity (fix completed in vcs)
Shouldn't it take just users joined before the last activity date you've set?
Comments / History
Did you select to prune by last activity before the date you set?
Yes.
This bug affects users which have registered but didn't logged in yet at all. In other words, these users have user_lastvisit = 0.
- Code: Select all
408c408
< $where_sql .= (sizeof($active)) ? " AND user_lastvisit > 0 AND user_lastvisit " . $key_match[$active_select] . " " . gmmktime(0, 0, 0, (int) $active[1], (int) $active[2], (int) $active[0]) : '';
---
> $where_sql .= (sizeof($active)) ? " AND user_lastvisit " . $key_match[$active_select] . " " . gmmktime(0, 0, 0, (int) $active[1], (int) $active[2], (int) $active[0]) : '';