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

(-)a/installer/data/mysql/updatedatabase.pl (-1 / +12 lines)
Lines 6532-6537 if (C4::Context->preference("Version") < TransformToNum($DBversion)) { Link Here
6532
    SetVersion ($DBversion);
6532
    SetVersion ($DBversion);
6533
}
6533
}
6534
6534
6535
$DBversion = "XXX";
6536
if ( CheckVersion($DBversion) ) {
6537
    $dbh->do(q{
6538
        DELETE FROM systempreferences WHERE variable='NoZebra'
6539
    });
6540
    $dbh->do(q{
6541
        DELETE FROM systempreferences WHERE variable='QueryRemoveStopwords'
6542
    });
6543
    print "Upgrade to $DBversion done (Remove deprecated NoZebra and QueryRemoveStopwords sysprefs)\n";
6544
    SetVersion($DBversion);
6545
}
6546
6535
=head1 FUNCTIONS
6547
=head1 FUNCTIONS
6536
6548
6537
=head2 TableExists($table)
6549
=head2 TableExists($table)
6538
- 

Return to bug 7440