# - #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 = "17.12.00.025";
+$VERSION = "17.12.00.026";
sub version {
return $VERSION;
+++ /dev/null
-$DBversion = 'XXX';
-if( CheckVersion( $DBversion ) ) {
-
- if( !column_exists( 'issuingrules', 'suspension_chargeperiod' ) ) {
- $dbh->do(q|
- ALTER TABLE issuingrules ADD COLUMN suspension_chargeperiod int(11) DEFAULT '1' AFTER maxsuspensiondays;
- |);
- }
-
- SetVersion( $DBversion );
- print "Upgrade to $DBversion done (Bug 19804: Add issuingrules.suspension_chargeperiod)\n";
-}
print "Upgrade to $DBversion done (Bug 20291 - Add StaffLoginInstructions system preference and rename NoLoginInstructions with OpacLoginInstructions)\n";
}
+$DBversion = '17.12.00.026';
+if( CheckVersion( $DBversion ) ) {
+ if( !column_exists( 'issuingrules', 'suspension_chargeperiod' ) ) {
+ $dbh->do(q|
+ ALTER TABLE issuingrules ADD COLUMN suspension_chargeperiod int(11) DEFAULT '1' AFTER maxsuspensiondays;
+ |);
+ }
+
+ SetVersion( $DBversion );
+ print "Upgrade to $DBversion done (Bug 19804: Add issuingrules.suspension_chargeperiod)\n";
+}
+
# SEE bug 13068
# if there is anything in the atomicupdate, read and execute it.