#32829 closed Cleanup/optimization (fixed)
clearsessions help text is incorrect
Reported by: | Baptiste Mispelon | Owned by: | Hasan Ramezani |
---|---|---|---|
Component: | contrib.sessions | Version: | 3.2 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
The --help
text for the clearsessions
command states:
Can be run as a cronjob or directly to clean out expired sessions (only with the database backend at the moment).
But looking at the backends, several of them (not just the database
one) implement the clear_expired()
method used by that command.
I would suggest the following replacement:
Can be run as a cronjob or directly to clean out expired sessions when the backend supports it.
Note:
See TracTickets
for help on using tickets.
Good catch, it's obsolete since 5fec97b9df6ea075483276de159e522a29437773.