This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "main Koha release repository".
The branch, 3.2.x has been updated via bc08e8cf6b2fb58c51a785bee132d35b0be946e5 (commit) from 430b609ee64af303e31f083cc0891e4b6c8bc28e (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit bc08e8cf6b2fb58c51a785bee132d35b0be946e5 Author: Marcel de Rooy <m.de.r...@rijksmuseum.nl> Date: Thu Oct 28 09:05:20 2010 -0400 Enhancement 5074 (Adding possibility to cleanup_database.pl to purge only older sessions) [UPDATED for master] Currently, the misc/cronjobs script cleanup_database truncates the session table (deleting all records, including active sessions). With an additional parameter sessdays, this behavior could be changed or (perhaps better) extended. If the parameter sessdays is passed along with a number of days, the script only deletes older session records. This is accomplished by examining the values of lasttime, atime or ctime in the record. So, calling the script like: ./cleanup_database.pl -v -sessions -sessdays 7 will only delete sessions records older than 7 days. The "old style" call ./cleanup_database.pl -v -sessions still works too and truncates the table as before. Signed-off-by: Galen Charlton <gmcha...@gmail.com> Signed-off-by: Chris Cormack <chr...@catalyst.net.nz> Signed-off-by: Chris Nighswonger <chris.nighswon...@gmail.com> ----------------------------------------------------------------------- Summary of changes: misc/cronjobs/cleanup_database.pl | 45 ++++++++++++++++++++++++++++++++++-- 1 files changed, 42 insertions(+), 3 deletions(-) hooks/post-receive -- main Koha release repository _______________________________________________ koha-commits mailing list koha-commits@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-commits