Bug 23148: DBRev 20.05.02.002
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
917273a2f8
commit
3d627c3823
2
Koha.pm
2
Koha.pm
|
|
@ -29,7 +29,7 @@ use vars qw{ $VERSION };
|
|||
# - #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.05.02.001";
|
||||
$VERSION = "20.05.02.002";
|
||||
|
||||
sub version {
|
||||
return $VERSION;
|
||||
|
|
|
|||
|
|
@ -1,9 +0,0 @@
|
|||
$DBversion = 'XXX'; # will be replaced by the RM
|
||||
if( CheckVersion( $DBversion ) ) {
|
||||
# you can use $dbh here like:
|
||||
$dbh->do( "UPDATE itemtypes SET imageurl = REPLACE (imageurl, '.gif', '.png') WHERE imageurl LIKE 'bridge/%'" );
|
||||
|
||||
# Always end with this (adjust the bug info)
|
||||
SetVersion( $DBversion );
|
||||
print "Upgrade to $DBversion done (Bug 23148: Replace Bridge icons with transparent PNG files)\n";
|
||||
}
|
||||
|
|
@ -22234,6 +22234,13 @@ if( CheckVersion( $DBversion ) ) {
|
|||
NewVersion( $DBversion, 24379, "Set login_attempts NOT NULL" );
|
||||
}
|
||||
|
||||
$DBversion = '20.05.02.002';
|
||||
if( CheckVersion( $DBversion ) ) {
|
||||
$dbh->do( "UPDATE itemtypes SET imageurl = REPLACE (imageurl, '.gif', '.png') WHERE imageurl LIKE 'bridge/%'" );
|
||||
|
||||
NewVersion( $DBversion, 23148, "Replace Bridge icons with transparent PNG files" );
|
||||
}
|
||||
|
||||
# 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/';
|
||||
|
|
|
|||
Loading…
Reference in New Issue