View | Details | Raw Unified | Return to bug 6862
Collapse All | Expand All

(-)a/installer/data/mysql/updatedatabase.pl (+10 lines)
Lines 4439-4444 if (C4::Context->preference("Version") < TransformToNum($DBversion)) { Link Here
4439
    SetVersion($DBversion);
4439
    SetVersion($DBversion);
4440
}
4440
}
4441
4441
4442
$DBversion = "3.05.00.XXX";
4443
if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
4444
    $dbh->do("UPDATE itemtypes SET imageurl = 'vokal/Book.png' WHERE imageurl = 'vokal/BOOK.png'");
4445
    $dbh->do("UPDATE itemtypes SET imageurl = 'vokal/Book-32px.png' WHERE imageurl = 'vokal/BOOK-32px.png'");
4446
    $dbh->do("UPDATE authorised_values SET imageurl = 'vokal/Book.png' WHERE imageurl = 'vokal/BOOK.png'");
4447
    $dbh->do("UPDATE authorised_values SET imageurl = 'vokal/Book-32px.png' WHERE imageurl = 'vokal/BOOK-32px.png'");
4448
    print "Upgrade to $DBversion done (remove duplicate VOKAL Book icons, bug 6862)\n";
4449
    SetVersion($DBversion);
4450
}
4451
4442
4452
4443
=head1 FUNCTIONS
4453
=head1 FUNCTIONS
4444
4454

Return to bug 6862