[koha-commits] main Koha release repository branch, new/bug_5074, created. v3.02.00-37-g5c4f27b

Git repo owner gitmaster at git.koha-community.org
Mon Nov 1 23:04:52 CET 2010

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, new/bug_5074 has been created
        at  5c4f27bd0df7b7557519660d752eeee3c9fb0c7c (commit)

- Log -----------------------------------------------------------------
commit 5c4f27bd0df7b7557519660d752eeee3c9fb0c7c
Author: Marcel de Rooy <M.de.Rooy at 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 <gmcharlt at gmail.com>
    Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>


main Koha release repository

More information about the koha-commits mailing list