Improving the cleanup_database.pl script in two aspects: 1) In some cases CGI::Session seems to place quotes around the atime and ctime data in the a_session field. Two regexps now take this into account. 2) If the --sessdays parameter is used, the --sessions parameter is now implicitly enabled too. With thanks to Ian Bays and Tom Hanstra.
Created attachment 5919 [details] [review] Patch
Created attachment 6006 [details] [review] Sign-off patch
(In reply to comment #2) > Created attachment 6006 [details] [review] > Sign-off patch Great!
Makes commandline too more flexible (quotes are regexed with ?, so all previous matches will continue, and new ones can be detected), and more intuitive (don't have to specify two params for sessions). Marking as Passed QA.
Excellent work, pushed