# - #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.008";
+$VERSION = "17.12.00.009";
sub version {
return $VERSION;
+++ /dev/null
-$DBversion = 'XXX';
-if( CheckVersion( $DBversion ) ) {
- $dbh->do(q|
- INSERT IGNORE INTO permissions (module_bit, code, description) VALUES
- (4, 'edit_borrowers', 'Add, modify and view patron information'),
- (4, 'view_borrower_infos_from_any_libraries', 'View patron infos from any libraries');
- |);
-
- # We are lucky here, there is nothing else to do: flags 4-borrowers did not contain sub permissions
-
- SetVersion( $DBversion );
- print "Upgrade to $DBversion done (Bug XXXXX - Add the view_borrower_infos_from_any_libraries permission )\n";
-}
SetVersion($DBversion);
}
+$DBversion = '17.12.00.009';
+if ( CheckVersion($DBversion) ) {
+ $dbh->do(q|
+ INSERT IGNORE INTO permissions (module_bit, code, description) VALUES
+ (4, 'edit_borrowers', 'Add, modify and view patron information'),
+ (4, 'view_borrower_infos_from_any_libraries', 'View patron infos from any libraries');
+ |);
+
+ # We are lucky here, there is nothing else to do: flags 4-borrowers did not contain sub permissions
+
+ SetVersion( $DBversion );
+ print "Upgrade to $DBversion done (Bug 18403 - Add the view_borrower_infos_from_any_libraries permission )\n";
+}
+
# DEVELOPER PROCESS, search for anything to execute in the db_update directory
# SEE bug 13068
# if there is anything in the atomicupdate, read and execute it.