From c579226ac8e521f8a23af2de890fb21c38bb06a7 Mon Sep 17 00:00:00 2001 From: Paul Poulain Date: Wed, 1 Feb 2012 23:09:30 +0100 Subject: [PATCH] Bug 6843 follow-up DBrev --- installer/data/mysql/updatedatabase.pl | 11 ++++++++++- kohaversion.pl | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 0982282294..099dfb9d63 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -4651,7 +4651,16 @@ if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { $dbh->do( q|INSERT INTO permissions (module_bit, code, description) VALUES (13, 'upload_local_cover_images', 'Upload local cover images')| ); - print "Upgrade done (Added support for local cover images)\n"; + print "Upgrade to $DBversion done (Added support for local cover images)\n"; + SetVersion($DBversion); +} + +$DBversion = "3.07.00.011"; +if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { + $dbh->do(<