[Koha-bugs] [Bug 22465] New: PatronSelfRegistrationExpireTemporaryAccountsDelay should recommend cleanup_database.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 6 15:32:17 CET 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22465

            Bug ID: 22465
           Summary: PatronSelfRegistrationExpireTemporaryAccountsDelay
                    should recommend cleanup_database.pl
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: System Administration
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: magnus at libriotech.no
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com
  Target Milestone: ---

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list