# - #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.063";
+$VERSION = "19.12.00.064";
sub version {
return $VERSION;
+++ /dev/null
-$DBversion = 'XXX'; # will be replaced by the RM
-if( CheckVersion( $DBversion ) ) {
-
- $dbh->do( q|
- INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` )
- SELECT 'OpacNoItemTypeImages', value, NULL, 'If ON, disables itemtype images in the OPAC','YesNo'
- FROM (SELECT value FROM systempreferences WHERE variable="NoItemTypeImages") tmp
- | );
- $dbh->do( "UPDATE systempreferences SET explanation = 'If ON, disables itemtype images in the staff interface'
- WHERE variable = 'noItemTypeImages' ");
-
- # Always end with this (adjust the bug info)
- NewVersion( $DBversion, 4944, "Add new system preference OpacNoItemTypeImages");
-}
NewVersion( $DBversion, 22534, "Add PreFillGuaranteeField syspref");
}
+$DBversion = '19.12.00.064';
+if( CheckVersion( $DBversion ) ) {
+
+ $dbh->do( q|
+ INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` )
+ SELECT 'OpacNoItemTypeImages', value, NULL, 'If ON, disables itemtype images in the OPAC','YesNo'
+ FROM (SELECT value FROM systempreferences WHERE variable="NoItemTypeImages") tmp
+ | );
+ $dbh->do( "UPDATE systempreferences SET explanation = 'If ON, disables itemtype images in the staff interface'
+ WHERE variable = 'noItemTypeImages' ");
+
+ NewVersion( $DBversion, 4944, "Add new system preference OpacNoItemTypeImages");
+}
+
# 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/';