9708138a86
The sharedate column is documented as having the following meaning: "date of invitation or acceptance of invitation" This patch adjust the new list-sharing code to stick with that interpretation, as otherwise the column should have been renamed to 'invite_expiration_date' or the like. It also removes the "housekeeping" functionality from AddShare, as otherwise the routine should have been named AddShareAndDoOtherStuff. To prevent list shares from piling up, a new --list-invites flag has been added to cleanup_database.pl. The default crontabs have been modified to use the --list-invites flag by default. To test ------- [1] Make some list share invites and accept some, but now all of them. [2] Wait 14 days (or more reasonably, manually edit the sharedate values for the unaccepted shares to put them at least 14 days in the past.). [3] Run cleanup_database.pl --list-invites [4] Verify that accepted shares remain, as to share invites that have not yet reached more than 14 days of age. Signed-off-by: Galen Charlton <gmc@esilibrary.com> |
||
---|---|---|
.. | ||
admin | ||
bin | ||
cronjobs | ||
devel | ||
interface_customization | ||
load_testing | ||
maintenance | ||
migration_tools | ||
release_notes | ||
translator | ||
batchCompareMARCvsFrameworks.pl | ||
batchdeletebiblios.pl | ||
batchDeleteUnusedSubfields.pl | ||
batchImportMARCWithBiblionumbers.pl | ||
batchRebuildBiblioTables.pl | ||
batchRepairMissingBiblionumbers.pl | ||
batchupdateISBNs.pl | ||
check_sysprefs.pl | ||
commit_file.pl | ||
export_borrowers.pl | ||
exportauth.pl | ||
koha-install-log | ||
kohalib.pl | ||
link_bibs_to_authorities.pl | ||
mod_zebraqueue.pl | ||
perlmodule_ls.pl | ||
perlmodule_rm.pl | ||
recreateIssueStatistics.pl | ||
sax_parser_print.pl | ||
sax_parser_test.pl | ||
sip_cli_emulator.pl | ||
stage_file.pl |