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.
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 ***