From 081a4c75be2431e1a6fc470a5b8834fa866e2453 Mon Sep 17 00:00:00 2001
From: Martin Renvoize
Date: Fri, 17 Apr 2020 09:02:58 +0100
Subject: [PATCH] Bug 25147: (RM follow-up) Update pref references.
Signed-off-by: Martin Renvoize
---
C4/UsageStats.pm | 2 +-
koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt | 8 ++++----
opac/sco/sco-main.pl | 6 +++---
t/db_dependent/UsageStats.t | 2 +-
4 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/C4/UsageStats.pm b/C4/UsageStats.pm
index d608eb9ea9..52fb4ce823 100644
--- a/C4/UsageStats.pm
+++ b/C4/UsageStats.pm
@@ -198,7 +198,7 @@ sub BuildReport {
UpdateTotalIssuesOnCirc
UseTablesortForCirc
WaitingNotifyAtCheckin
- AllowSelfCheckReturns
+ SCOAllowCheckin
AutoSelfCheckAllowed
FRBRizeEditions
OPACFRBRizeEditions
diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt
index e475470488..1b984e6693 100644
--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt
+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt
@@ -86,7 +86,7 @@
Please see a member of the library staff.
- [% IF ( returnitem && Koha.Preference('AllowSelfCheckReturns') ) %]
+ [% IF ( returnitem && Koha.Preference('SCOAllowCheckin') ) %]