Bug 28943: (QA follow-up) Fix opac.pref

Fix YAML syntax of opac.pref, we must use dash for new lines.

Also removes duplicate text before syspref.
No need to say "code" since it is now a list of categories.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
Fridolin Somers 2022-01-21 15:57:28 -10:00 committed by Chris Cormack
parent 24d02038f8
commit 0e0a9b4a5a
1 changed files with 3 additions and 3 deletions

View File

@ -803,12 +803,12 @@ OPAC:
- "that a self-registering patron verify themselves via email."
- "<br><strong>NOTE:</strong> This system preference requires the <code>misc/cronjobs/cleanup_database.pl</code> cronjob. Ask your system administrator to schedule it."
-
- "Use the patron category code"
- "Use"
- pref: PatronSelfRegistrationDefaultCategory
class: short
- "as the default patron category for patrons registered via the OPAC."
- "<br><strong>WARNING: Do not use a regular patron category for self registration.</strong><br>
If the <code>misc/cronjobs/cleanup_database.pl</code> cronjob is setup to delete unverified and unfinished OPAC self registrations, it will permanently and unrecoverably delete all patrons that have registered more than <a href='/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=PatronSelfRegistrationExpireTemporaryAccountsDelay'>PatronSelfRegistrationExpireTemporaryAccountsDelay</a> days ago (unless that delay is empty or zero)."
- "<br><strong>WARNING: Do not use a regular patron category for self registration.</strong>"
- "<br>If the <code>misc/cronjobs/cleanup_database.pl</code> cronjob is setup to delete unverified and unfinished OPAC self registrations, it will permanently and unrecoverably delete all patrons that have registered more than <a href='/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=PatronSelfRegistrationExpireTemporaryAccountsDelay'>PatronSelfRegistrationExpireTemporaryAccountsDelay</a> days ago (unless that delay is empty or zero)."
-
- "Delete patrons still in the category indicated by PatronSelfRegistrationDefaultCategory"
- pref: PatronSelfRegistrationExpireTemporaryAccountsDelay