# - #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.05.11.001";
+$VERSION = "19.05.11.002";
sub version {
return $VERSION;
print "Upgrade to $DBversion done (Bug 24854 - Disable IDreamBooks)\n";
}
+$DBversion = '19.05.11.002';
+if( CheckVersion( $DBversion ) ) {
+ $dbh->do(q{
+ INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES
+ ('TrapHoldsOnOrder','1',NULL,'If enabled, Koha will trap holds for on order items ( notforloan < 0 )','YesNo')
+ });
+ SetVersion( $DBversion );
+ print "Upgrade to $DBversion done (Replay of 19.05.10.003 upgrade - that initially had a typo - to ensure the changes are done)\n";
+}
+
# SEE bug 13068
# if there is anything in the atomicupdate, read and execute it.