Koha/misc/cronjobs
Jonathan Druart 20c44f0051 Bug 16891: Move C4::Members::MoveMemberToDeleted to Koha::Patron->move_to_deleted
This patch removes the C4::Members::MoveMemberToDeleted subroutine in
order to replace it with the Koha::Patron->move_to_deleted method.
Next after this change, we will move C4::Members::HandleDelBorrower and
C4::Members::DelMember to the same module to simplify the code in
members/deletemem.pl and misc/cronjobs/delete_patrons.pl

Test plan:
1/ Delete a patron from the staff interface and make sure (s)he has been moved to
the deletedborrowers table.
2/ Use the "Batch patron deletion" tool (tools/cleanborrowers.pl) to
remove patron. Make sure the "Permanently delete these patrons" and "Move
these patrons to the trash" options work as before
3/ Same as previously but using the cronjob
misc/cronjobs/delete_patrons.pl.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Tested the delete_patrons.pl script and cleanborrowers.pl too.
Tests (are relevant and) pass and the qa scripts are happy too :-D

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2016-10-21 16:20:27 +00:00
..
holds Bug 13889: Add information about cron jobs to system log 2015-05-04 11:11:14 -03:00
rss
social_data Bug 15193 - Perl scripts missing exec permission 2015-12-11 16:36:08 +00:00
thirdparty Bug 9004: Use Koha::Calendar instead of C4::Calendar 2016-04-29 12:01:24 +00:00
advance_notices.pl Bug 15629: Koha::Libraries - Remove GetBranchDetail 2016-02-24 03:55:06 +00:00
automatic_item_modification_by_age.pl Bug 11023: Automatic item modification by age (Was Toggle "new" status") 2016-03-02 22:56:31 +00:00
automatic_renewals.pl
backup.sh Bug 9235 - Hardcoded values in cronjobs/backup.sh 2012-12-21 07:20:50 -05:00
batch_anonymise.pl
build_browser_and_cloud.pl
cart_to_shelf.pl
check-url-quick.pl
check-url.pl
cleanup_database.pl Bug 16672: Fix typo unqiue vs unique 2016-06-17 15:45:54 +00:00
cloud-kw.pl
cloud-sample.conf
CONFIGURE.gmail
create_koc_db.pl
crontab.example Bug 11144 [QA Followup] - Let each script run in sequence even if one fails 2016-09-02 13:51:32 +00:00
delete_expired_opac_registrations.pl
delete_items.pl Bug 14504: (followup) Make deletion conditional on --commit 2016-08-26 12:07:27 +00:00
delete_patrons.pl Bug 16891: Move C4::Members::MoveMemberToDeleted to Koha::Patron->move_to_deleted 2016-10-21 16:20:27 +00:00
delete_records_via_leader.pl Bug 10455 (QA Followup) 2016-10-21 14:35:02 +00:00
delete_unverified_opac_registrations.pl
edi_cron.pl Bug 17141: Call config method to retrieve logdir 2016-09-02 15:49:12 +00:00
fines.pl Bug 15675 - Add issue_id column to accountlines and use it for updating fines 2016-03-02 03:24:45 +00:00
gather_print_notices.pl
import_webservice_batch.pl
j2a.pl Bug 15742 [QA Followup] - Tidy script 2016-02-23 21:19:08 +00:00
longoverdue.pl Bug 15548: Move new patron related code to Patron* 2016-03-03 14:38:26 -07:00
membership_expiry.pl Bug 15543: Use another notice in membership_expiry.pl 2016-04-29 16:58:58 +00:00
nl-sync-from-koha.pl Bug 15193 - Perl scripts missing exec permission 2015-12-11 16:36:08 +00:00
nl-sync-to-koha.pl Bug 15193 - Perl scripts missing exec permission 2015-12-11 16:36:08 +00:00
notice_unprocessed_suggestions.pl Bug 15629: Koha::Libraries - Remove GetBranchDetail 2016-02-24 03:55:06 +00:00
overdue_notices.pl Bug 2389: (followup) Add documentation and fix use case 2016-09-24 16:27:11 +00:00
printoverdues.sh
process_message_queue.pl
purge_suggestions.pl
remove_temporary_edifiles.pl Bug 7736: Support Ordering via Edifact EDI messages 2016-04-01 20:03:17 +00:00
runreport.pl Bug 14435: Add the ability to store result's report 2016-09-25 15:24:02 +00:00
serialsUpdate.pl
services_throttle.pl
share_usage_with_koha_community.pl Bug 16039: Remove useless exit 2016-03-23 20:57:22 +00:00
sitemap.pl Bug 16751: What is sitemaper? 2016-06-24 13:19:06 +00:00
staticfines.pl Bug 14960: Simplify the date management in staticfines 2015-11-17 15:36:51 -03:00
update_totalissues.pl