Bug 25045: (RM follow-up) Add the RESTPublicAnonymousRequests syspref

The atomic update alos included a quoting mistake

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 19a241c131)

Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>
This commit is contained in:
Martin Renvoize 2020-04-27 11:51:08 +01:00 committed by Aleisha Amohia
parent e18744fd4f
commit bdb8edb5b5
1 changed files with 1 additions and 1 deletions

View File

@ -20596,7 +20596,7 @@ 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 don\'t 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)");