From 8bbb7a6f6b3389626f7b96a39fe7cbd9dbe6dee5 Mon Sep 17 00:00:00 2001
From: Jake Deery <jake.deery@ptfs-europe.com>
Date: Thu, 31 Oct 2024 14:24:06 +0000
Subject: [PATCH] Bug 38313: Remove confusing string from
 RESTOAuth2ClientCredentials

This patch removes a once necessary and now confusing warning
from the RESTOAuth2ClientCredentials syspref.

TO TEST:
a)  Notice how the RESTOAuth2ClientCredentials syspref references
    installing Net::OAuth2::AuthorizationServer, even though this
    module is in the cpanfile and koha-perldeps and has been since
    22.11
b)  APPLY PATCH
c)  Run reset_all in k.t.d
d)  Notice how the message is now gone

Signed-off-by: William Lavoie <william.lavoie@inLibro.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
---
 .../prog/en/modules/admin/preferences/web_services.pref         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/web_services.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/web_services.pref
index ea0c6ee38b3..f291640476a 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/web_services.pref
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/web_services.pref
@@ -22,7 +22,7 @@ Web services:
               choices:
                   1: Enable
                   0: "Disable"
-            - "the OAuth2 client credentials grant for the REST API. Requires Net::OAuth2::AuthorizationServer installed."
+            - "the OAuth2 client credentials grant for the REST API."
         -
             - pref: RESTPublicAnonymousRequests
               choices:
-- 
2.48.1