From d411d6b47c6e2ed311efc79ed622347614bb8299 Mon Sep 17 00:00:00 2001 From: Aleisha Amohia Date: Mon, 22 Jun 2020 10:19:38 +1200 Subject: [PATCH] [19.11.x] Bug 25045: (follow-up) Fix typo adding the RESTPublicAnonymousRequests syspref Signed-off-by: Aleisha Amohia --- installer/data/mysql/updatedatabase.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 2d4242d40d..673eedabd8 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -20596,10 +20596,11 @@ if( CheckVersion( $DBversion ) ) { INSERT IGNORE INTO `systempreferences` (`variable`,`value`,`explanation`,`options`,`type`) VALUES - ('RESTPublicAnonymousRequests', $opac_public, NULL,'If enabled, the API will allow anonymous access to public routes that do not require authenticated access.','YesNo'); + ('RESTPublicAnonymousRequests', $opac_public, NULL,"If enabled, the API will allow anonymous access to public routes that don\'t require authenticated access.",'YesNo'); }); - NewVersion( $DBversion, 25045, "Add a way to restrict anonymous access to public routes (OpacPublic behaviour)"); + SetVersion ($DBversion); + print "Upgrade to $DBversion done ( Bug 25045 - Add a way to restrict anonymous access to public routes (OpacPublic behaviour) )\n"; } # SEE bug 13068 -- 2.39.5