# - #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 = "20.06.00.022";
+$VERSION = "20.06.00.023";
sub version {
return $VERSION;
+++ /dev/null
-$DBversion = 'XXX'; # will be replaced by the RM
-if( CheckVersion( $DBversion ) ) {
- # you can use $dbh here like:
- # $dbh->do( "ALTER TABLE biblio ADD COLUMN badtaste int" );
-
- $dbh->do( "UPDATE systempreferences SET value = '', options = 'intranet,opac', explanation = 'Enable or disable display of Quote of the Day on the OPAC and staff interface home page', type = 'multiple' WHERE variable = 'QuoteOfTheDay'" );
-
- # Always end with this (adjust the bug info)
- NewVersion( $DBversion, 16371, "Bug 16371 - Quote of the Day (QOTD) for the staff interface ");
-}
NewVersion( $DBversion, 21946, "Add parent type to itemtypes" );
}
+$DBversion = '20.06.00.023';
+if( CheckVersion( $DBversion ) ) {
+
+ $dbh->do( q|
+ UPDATE systempreferences
+ SET value = '',
+ options = 'intranet,opac',
+ explanation = 'Enable or disable display of Quote of the Day on the OPAC and staff interface home page',
+ type = 'multiple'
+ WHERE variable = 'QuoteOfTheDay'
+ | );
+
+ NewVersion( $DBversion, 16371, "Quote of the Day (QOTD) for the staff interface " );
+}
+
# 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/';