Browse Source

Bug 31028: DBRev 22.12.00.010

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
23.05.x
Tomás Cohen Arazi 3 months ago
parent
commit
ddd6765074
  1. 2
      Koha.pm
  2. 6
      installer/data/mysql/db_revs/221200010.pl

2
Koha.pm

@ -29,7 +29,7 @@ use vars qw{ $VERSION };
# - #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 = "22.12.00.009";
$VERSION = "22.12.00.010";
sub version {
return $VERSION;

6
installer/data/mysql/atomicupdate/bug_31028.pl → installer/data/mysql/db_revs/221200010.pl

@ -51,7 +51,7 @@ return {
('OpacCatalogConcerns', '0', NULL, 'Allow logged in OPAC users to report catalog concerns', 'YesNo')
}
);
say $out "`OpacCatalogConcerns` preference added";
say $out "Added new system preference 'OpacCatalogConcerns'";
if ( ( $dbh->selectrow_array('SELECT COUNT(*) FROM additional_contents WHERE location=?', undef, 'CatalogConcernHelp') )[0] == 0 ) { # Check to make idempotent
$dbh->do(
@ -116,7 +116,7 @@ return {
('CatalogerEmails', '', '', 'Notify these catalogers by email when a catalog concern is submitted', 'free')
}
);
say $out "`CatalogerEmails` preference added";
say $out "Added new system preference 'CatalogerEmails'";
$dbh->do(
q{
@ -132,6 +132,6 @@ return {
('CatalogConcerns', '0', NULL, 'Allow users to report catalog concerns', 'YesNo')
}
);
say $out "`CatalogConcerns` preference added";
say $out "Added new system preference 'CatalogConcerns'";
}
}
Loading…
Cancel
Save