# - #4 : the developer version. The 4th number is the database subversion.
# used by developers when the database changes. updatedatabase take care of the changes itself
# and is automatically called by Auth.pm when needed.
-$VERSION = "19.12.00.078";
+$VERSION = "19.12.00.079";
sub version {
return $VERSION;
+++ /dev/null
-$DBversion = 'XXX'; # will be replaced by the RM
-if( CheckVersion( $DBversion ) ) {
-
- # Default to the homologous OpacPublic syspref
- my $opac_public = C4::Context->preference('OpacPublic') ? 1 : 0;
-
- $dbh->do(qq{
- 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');
- });
-
- NewVersion( $DBversion, 25045, "Add a way to restrict anonymous access to public routes (OpacPublic behaviour)");
-}
NewVersion( $DBversion, 24913, "Add PatronSelfRegistrationConfirmEmail syspref");
}
+$DBversion = '19.12.00.079';
+if( CheckVersion( $DBversion ) ) {
+
+ # Default to the homologous OpacPublic syspref
+ my $opac_public = C4::Context->preference('OpacPublic') ? 1 : 0;
+
+ $dbh->do(qq{
+ 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');
+ });
+
+ NewVersion( $DBversion, 25045, "Add a way to restrict anonymous access to public routes (OpacPublic behaviour)");
+}
+
# SEE bug 13068
# if there is anything in the atomicupdate, read and execute it.
my $update_dir = C4::Context->config('intranetdir') . '/installer/data/mysql/atomicupdate/';