Koha/misc/cronjobs
Tomas Cohen Arazi 3cd669e527 Bug 22049: Make MarkIssueReturned rely on returndate only
This patch changes the params accepted by
C4::Circulation::MarkIssueReturned by removing the $dropbox_branch
param.

This passed branchcode was only used to initialize the Koha::Calendar
object, but the date arithmetic has already taken place in a couple
places before we reach this point. This logic needs to be simplified
(bug 14591), and this is the starting point.

To test:
- Apply this patch
- Run:
  $ git grep MarkIssueReturned
=> SUCCESS: Check all the uses of the function either originally passed
undef, or now pass the same date that would've been calculated anyway,
in the returndate param.
- Run:
  $ kshell
 k$ prove t/db_dependent/Circulation/MarkIssueReturned.t
=> SUCCESS: Tests pass!
- Sign off :-D

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Charles Farmer <charles.farmer@inLibro.com>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2019-01-25 20:46:47 +00:00
..
holds Bug 21698: (QA follow-up) Fix typo verbosev -> verbose 2018-10-31 13:49:19 +00:00
rss Bug 21526: Use the 'url' filter when needed 2018-11-12 16:35:43 -03:00
social_data
thirdparty Bug 21640: Enable output to STDOUT for Itiva outbound script 2018-11-02 10:33:08 +00:00
advance_notices.pl
automatic_item_modification_by_age.pl
automatic_renewals.pl Bug 15494: Update display of renewal errors 2018-11-07 21:39:38 +00:00
backup.sh
batch_anonymise.pl
build_browser_and_cloud.pl
cart_to_shelf.pl
check-url-quick.pl Bug 21122: Fix check-url-quick when utf8 characters in URL's 2018-08-02 10:21:43 -03:00
check-url.pl
cleanup_database.pl Bug 20402: only output if verbose flag is set 2018-05-09 12:47:43 -03:00
cloud-kw.pl
cloud-sample.conf
CONFIGURE.gmail
create_koc_db.pl
crontab.example Bug 21235: Remove table services_throttle 2018-09-07 15:09:39 +00:00
delete_expired_opac_registrations.pl
delete_items.pl
delete_patrons.pl Bug 20915: Use date --iso-8601 instead of date +%Y-%m-%d 2018-09-26 16:43:22 +00:00
delete_records_via_leader.pl
edi_cron.pl
fines.pl Bug 21753: Remove all reference of chargename from scripts 2019-01-04 03:13:49 +00:00
gather_print_notices.pl
import_webservice_batch.pl
j2a.pl
longoverdue.pl Bug 22049: Make MarkIssueReturned rely on returndate only 2019-01-25 20:46:47 +00:00
membership_expiry.pl
merge_authorities.pl
notice_unprocessed_suggestions.pl
overdue_notices.pl
printoverdues.sh
process_message_queue.pl Bug 21322: process_message_queue.pl --type should take an argument 2018-10-03 17:34:43 +00:00
purge_suggestions.pl Bug 16280: purge_suggestions.pl: Cron job log should tell number of days used 2018-11-05 14:41:05 +00:00
reconcile_balances.pl Bug 21915: Add a cli script to reconcile balances 2019-01-04 03:13:41 +00:00
remove_temporary_edifiles.pl
runreport.pl Bug 21035: Handle new lines when running reports 2018-08-09 11:18:55 +00:00
serialsUpdate.pl Bug 17047: subscriptions management with Mana-KB 2019-01-23 14:39:26 +00:00
share_usage_with_koha_community.pl
sitemap.pl
staticfines.pl Bug 21753: Remove all reference of chargename from scripts 2019-01-04 03:13:49 +00:00
stockrotation.pl Bug 21620: Prevent stockrotation cronjob failures 2018-11-02 10:33:00 +00:00
update_totalissues.pl