Bug 22465

Summary: PatronSelfRegistrationExpireTemporaryAccountsDelay should recommend cleanup_database.pl
Product: Koha Reporter: Magnus Enger <magnus>
Component: System AdministrationAssignee: Bugs List <koha-bugs>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: gmcharlt, martin.renvoize
Version: MainKeywords: Academy
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: String patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on:    
Bug Blocks: 22580    

Description Magnus Enger 2019-03-06 14:32:17 UTC
The description of the PatronSelfRegistrationExpireTemporaryAccountsDelay syspref says "This system preference requires the <code>misc/cronjobs/delete_expired_opac_registrations.pl</code> cronjob.":

http://git.koha-community.org/gitweb/?p=koha.git;a=blob;f=koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref;h=da1d86540c321260a336867d5518af6bc35f2b1b;hb=HEAD#l741

But if you look at delete_expired_opac_registrations.pl it says: "IMPORTANT: You should no longer call this script. Please use cleanup_database.pl with parameter --del-exp-selfreg.":

http://git.koha-community.org/gitweb/?p=koha.git;a=blob;f=misc/cronjobs/delete_expired_opac_registrations.pl;h=66f9e165e84be5813f1bd2c1eabe881c156b8d43;hb=HEAD#l44

So the description of PatronSelfRegistrationExpireTemporaryAccountsDelay should refer to cleanup_database.pl, not the obsolete delete_expired_opac_registrations.pl.
Comment 1 Katrin Fischer 2019-04-09 23:08:23 UTC
Marking as duplicate to bug 22580 - we can change the note with removing the file.

*** This bug has been marked as a duplicate of bug 22580 ***