Bug 22465 - PatronSelfRegistrationExpireTemporaryAccountsDelay should recommend cleanup_database.pl
Summary: PatronSelfRegistrationExpireTemporaryAccountsDelay should recommend cleanup_d...
Status: RESOLVED DUPLICATE of bug 22580
Alias: None
Product: Koha
Classification: Unclassified
Component: System Administration (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords: Academy
Depends on:
Blocks: 22580
  Show dependency treegraph
 
Reported: 2019-03-06 14:32 UTC by Magnus Enger
Modified: 2020-11-17 20:06 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: String patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***